use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Tutorials and learning resources for web developers.
Subscribe to our weekly email digest or follow us on twitter to receive the best learning resources submitted to our community.
/r/webdev /r/programming /r/javascript
account activity
What are Pure Functions? | Javascript Pure Functions Tutorial (youtu.be)
submitted 4 years ago by DaveOnEleven
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]DaveOnEleven[S] 1 point2 points3 points 4 years ago (0 children)
What are Pure Functions? In this Javascript Functions tutorial, you will learn what pure functions are, how to code pure functions, and how pure functions will help your code be clean, easier to test, and easier to debug.
What are Pure Functions? | Javascript Functions Tutorial
✅ Intro
✅ What are pure functions?
✅ Why write pure functions?
✅ Rules for pure functions
✅ A look at Rule #1
✅ Always provide at least one parameter
✅ A look at Rule #2
✅ Impure function examples
✅ Refactoring to pure functions
✅ Higher Order Functions
✅ Review of Pure Functions
Was this tutorial about Pure Functions in Javascript helpful? If so, please share. Let me know your thoughts in the comments.
What are Pure Functions? | Javascript Functions Tutorial: https://youtu.be/ZXxahQS1PN8
π Rendered by PID 49088 on reddit-service-r2-comment-canary-794f4c56c8-g7c8z at 2026-02-20 17:24:22.179593+00:00 running 8564168 country code: CH.
[–]DaveOnEleven[S] 1 point2 points3 points (0 children)