r/Frontend • u/fagnerbrack • Sep 19 '16
Is your JavaScript function actually pure? Or does this function behaves like a Mathematical Function in all the situations I will encounter in my code?
http://staltz.com/is-your-javascript-function-actually-pure.html
2
Upvotes
0
1
u/[deleted] Sep 19 '16
That's not even the correct definition of a pure function...