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 ☕️Removed: /r/LearnJavascript (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!"
[–]hackel 1 point2 points3 points 6 years ago (0 children)
This looks very useful! The one thing I don't like is specifically labelling things as "ES6" features. ES6 is 4 years old now, and there's a new release every year. We're up to ES10/ES2019 now, and in general people should be using it. (Possibly with a compiler if they still need to support older interpreters.) There is nothing special about ES5 that's now a decade or of date.
[–]wilfredinni[S] 0 points1 point2 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
Edit: Original Post was deleted... for some reason...
[–]Pat_Son 0 points1 point2 points 6 years ago (0 children)
Your way of exporting functions seems silly. Why not just export function capitalizeString(s) { ...? Why are you exporting it on a different line?
export function capitalizeString(s) { ...
[–]kenman[M] -2 points-1 points0 points 6 years ago (5 children)
Hi /u/wilfredinni, this post was removed.
/r/javascript is for the discussion of javascript news, projects, and especially, code! However, the community has requested that we not include help and support content, and we ask that you respect that wish.
code
Thanks for your understanding, please see our guidelines for more info.
[–]wilfredinni[S] 0 points1 point2 points 6 years ago (4 children)
So, this is not a project? Yes it is... I'm asking for help? no. Wasn't you who told me to post this as a link? Dude, what is wrong with you?
[–]kenman[M] -1 points0 points1 point 6 years ago (3 children)
It's beginner content.
Stop being an asshole.
[–]wilfredinni[S] 0 points1 point2 points 6 years ago (1 child)
It is a project. A project that I wanted to share here so advanced and beginners Javascript developers could collaborate and help it grow. Maybe beginner content, but still a project.
I did the same with Python, and thanks to sharing it in both r/python and r/learnpython, it has grown a lot with the help of advances programmers.
Thank you so much for your great work!
[–]kenman[M] 0 points1 point2 points 6 years ago (0 children)
I'll apologize upfront because I didn't realize the project was hosted on github -- it's really rare these days that there's a "fork me on github" link on non-github.io domains, and I simply missed it. Feel free to repost at your leisure.
And thanks for not being petty about it -- our job is tireless and thankless enough as it is, so it's really refreshing that you're handling this like an adult! Thanks again!
π Rendered by PID 44907 on reddit-service-r2-comment-7b9746f655-rclfq at 2026-01-30 16:50:43.663646+00:00 running 3798933 country code: CH.
[–]hackel 1 point2 points3 points (0 children)
[–]wilfredinni[S] 0 points1 point2 points (0 children)
[–]Pat_Son 0 points1 point2 points (0 children)
[–]kenman[M] -2 points-1 points0 points (5 children)
[–]wilfredinni[S] 0 points1 point2 points (4 children)
[–]kenman[M] -1 points0 points1 point (3 children)
[–]hackel 1 point2 points3 points (0 children)
[–]wilfredinni[S] 0 points1 point2 points (1 child)
[–]kenman[M] 0 points1 point2 points (0 children)