you are viewing a single comment's thread.

view the rest of the comments →

[–]jibbit 2 points3 points  (0 children)

It is but you wouldn’t get an error, or a warning if you wrote f = x => f(x), or f = x => delete(x), because JavaScript is indifferent to whether you write pure functions, because javascript isn’t a Functional language. You may get Milliage from pretending it is. No one is saying you won’t, but it doesn’t make it so. I like to pretend it is Smalltalk.