r/javascript • • Aug 27 '16

Is your JavaScript function actually pure?

http://staltz.com/is-your-javascript-function-actually-pure.html
8 Upvotes

48 comments sorted by

View all comments

-1

u/DrGarbinsky Aug 27 '16

Who cares if it is pure?

9

u/[deleted] Aug 27 '16

Nobody, OP is just nitpicking and arguing about corner cases. If it behaves correctly for what I want it, it's pure enough to me.