News for hackers. Stuff that matters.
Re:Is your JavaScript function actually pure? by masklinn on Tuesday September 20, 2016 @07:08AM (#12538549)
> If not, then I don't see how any JS function that takes an argument (and evaluates it) can be pure.

A JS function could take an argument, use it but not evaluate it (or not evaluate it in all cases). `typeof` doesn't evaluate its argument for instance.

Re:Is your JavaScript function actually pure? by fenomas on Tuesday September 20, 2016 @07:49AM (#12538745)
Certainly it could. I don't know what that has to do with my comment though.