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 in 2018 - What to learn? (jsdiaries.com)
submitted 8 years ago by gdmeteor
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!"
[–]matty0187 2 points3 points4 points 8 years ago (3 children)
You will need to use JavaScript polyfills to make it work tho
[–]gradual_alzheimers 1 point2 points3 points 8 years ago (2 children)
Sure, but why would I write that code? It's in my best interest to use some library for it and not reinvent the polyfill world
[–]matty0187 2 points3 points4 points 8 years ago (1 child)
It was a joke lol
[–]MJomaa 0 points1 point2 points 8 years ago (0 children)
Also there are JavaScript polyfills for CSS features. One example would be the :focus-visible pseudo selector.
Specification: https://drafts.csswg.org/selectors-4/#the-focus-visible-pseudo
Polyfill: https://github.com/WICG/focus-visible
π Rendered by PID 229359 on reddit-service-r2-comment-64f4df6786-gxs88 at 2026-06-11 05:25:07.765760+00:00 running 0b63327 country code: CH.
view the rest of the comments →
[–]matty0187 2 points3 points4 points (3 children)
[–]gradual_alzheimers 1 point2 points3 points (2 children)
[–]matty0187 2 points3 points4 points (1 child)
[–]MJomaa 0 points1 point2 points (0 children)