Tag: Pure vs Impure function in javascript