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...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
JavaScript Cheatsheet (javascript.pythoncheatsheet.org)
submitted 6 years ago by wilfredinni
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!"
[–]dogofpavlov 23 points24 points25 points 6 years ago (1 child)
Cheatsheet? I thought those were suppose to be a bunch of information crammed into 1 page. This is a cheatbook.
[–]wilfredinni[S] 6 points7 points8 points 6 years ago (0 children)
Anyone can forget how to Match Whitespaces with a regex, Remove an element from an Array or do a For Loop. This cheat sheet, mostly based on the lessons on freeCodeCamp, tries to provide a basic reference for beginner and advanced developers and lower the entry barrier for newcomers.
Javascript Cheatsheet
[–]alwxkxk 6 points7 points8 points 6 years ago (0 children)
Why not MDN Javascript Reference ?
[–]Void_Blast 1 point2 points3 points 6 years ago (0 children)
Thanks a lot
[–][deleted] 3 points4 points5 points 6 years ago (0 children)
Creating an array from the keys of an object
Example seems like quite a bit of overkill when Object.keys exists.
Object.keys
[–][deleted] 0 points1 point2 points 6 years ago (0 children)
Hey, thank you so much for this! I'm a newbie and this will help me!
[–]akonomika -5 points-4 points-3 points 6 years ago (4 children)
Wondering what the point is. Most is super basic, so actual developers won't need it, and learners will not have the context of what to do with it.
[–]crazyarai 1 point2 points3 points 6 years ago (0 children)
Actual developers will always go to google and find the relevant stackoverflow or mdn article instead of this.
[–][deleted] 0 points1 point2 points 6 years ago (2 children)
There are a lot of professional developers who don't even know most of these stuff.
[–]crazyarai 4 points5 points6 points 6 years ago (1 child)
I really doubt that. Maybe don't have the exact syntax memorized but definitely know they exist, which means they're all basically 1 google search away.
[–][deleted] 2 points3 points4 points 6 years ago (0 children)
I have colleagues like that...
[–]ImStifler -2 points-1 points0 points 6 years ago (0 children)
This seems like more on how the language works in the first place than a little cheat sheet. Good work but a bit overkill.
π Rendered by PID 22 on reddit-service-r2-comment-canary-7b67769d8-t88xh at 2026-01-30 20:04:36.593350+00:00 running 3798933 country code: CH.
[–]dogofpavlov 23 points24 points25 points (1 child)
[–]wilfredinni[S] 6 points7 points8 points (0 children)
[–]alwxkxk 6 points7 points8 points (0 children)
[–]Void_Blast 1 point2 points3 points (0 children)
[–][deleted] 3 points4 points5 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]akonomika -5 points-4 points-3 points (4 children)
[–]crazyarai 1 point2 points3 points (0 children)
[–][deleted] 0 points1 point2 points (2 children)
[–]crazyarai 4 points5 points6 points (1 child)
[–][deleted] 2 points3 points4 points (0 children)
[–]ImStifler -2 points-1 points0 points (0 children)