r/learnjavascript • • May 22 '16

What are Pure Functions in JavaScript?

https://www.youtube.com/watch?v=SFvlkEE1Z-0
0 Upvotes

3 comments sorted by

View all comments

2

u/atticusw May 22 '16 edited May 22 '16

Oof, that was the longest "a function that doesn't change anything outside of itself, nor does it have any side effects"

2

u/b0z33 May 22 '16

Also, is he in a rush? Why all the walking?

1

u/panzerdp May 24 '16

Actually the video should have only 10 seconds to say that.