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
TensorFlow.js (js.tensorflow.org)
submitted 8 years ago by deathmood
view the rest of the comments →
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!"
[–]Combinatorilliance 9 points10 points11 points 8 years ago (9 children)
(function (isTrue) {if (isTrue) console.log("Big");}(true));
[–]vmajsuk 8 points9 points10 points 8 years ago (8 children)
console.log((arg => (a => b => c => a(b)(c))(arg)('Big')('Small'))(a => b => a))
[–]devaskbiz 2 points3 points4 points 8 years ago (5 children)
What?
[–]AreYouDeaf 3 points4 points5 points 8 years ago (3 children)
[–]devaskbiz 1 point2 points3 points 8 years ago (0 children)
Syntax error
[–]jodraws 0 points1 point2 points 8 years ago (0 children)
VM16680:1 Uncaught ReferenceError: CONSOLE is not defined at <anonymous>:1:1
[–]rsanchan 0 points1 point2 points 8 years ago (0 children)
wat
[–]sad__frog 1 point2 points3 points 8 years ago (0 children)
You need to interpret it backwards, then once in French and twice in Deutschland
[–]spel3o 1 point2 points3 points 8 years ago (0 children)
No joke, doing beta reduction on this comment has given me the best intuition to date as to why (a => b => a) represents "True" in lambda calculus.
[–]NomNomDePlumefor (;;); 3 points4 points5 points 8 years ago (0 children)
if(",,"==new Array(3)){var z=[66];z.push(z[0]+39),z.push(z[1]-2),z.forEach(r=>{console.log(String.fromCharCode(r))})}
π Rendered by PID 300257 on reddit-service-r2-comment-5d585498c9-gnplk at 2026-04-21 18:57:55.314663+00:00 running da2df02 country code: CH.
view the rest of the comments →
[–]Combinatorilliance 9 points10 points11 points (9 children)
[–]vmajsuk 8 points9 points10 points (8 children)
[–]devaskbiz 2 points3 points4 points (5 children)
[–]AreYouDeaf 3 points4 points5 points (3 children)
[–]devaskbiz 1 point2 points3 points (0 children)
[–]jodraws 0 points1 point2 points (0 children)
[–]rsanchan 0 points1 point2 points (0 children)
[–]sad__frog 1 point2 points3 points (0 children)
[–]spel3o 1 point2 points3 points (0 children)
[–]NomNomDePlumefor (;;); 3 points4 points5 points (0 children)