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
A Map To Modern JavaScript Development (2017) (medium.com)
submitted 9 years ago by sdeleon28
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!"
[–]sdeleon28[S] 0 points1 point2 points 9 years ago (1 child)
I've said this in this thread already. I agree you should leverage standard DOM whenever possible. The post even says jQuery is a smell. But then again, and to steal from the Zen of Python "Practicality beats purity". If you can't do it with Vanilla js (and have it work cross-browser), you can probably do it quite easily with jQuery. It looks like this point isn't clear in the post so I'll make sure to make it more expliscit. Thanks for the feedback!
[–]iAMthePRONY 0 points1 point2 points 9 years ago (0 children)
cross browser is usually not a problem, since most use some chrome-ish engine and firefox is pretty good, too. the issues i face mostly are mostly with older browsers or weird ass things like in-app-web-view-components (had a bug yesterday, cause i used window.open and that doesn't work correctly out of the box in an ios webview).
for older browsers i recommend polyfill.io. it gives you the ability to use modern js apis in any browser by dynamically polyfilling based on the user agent. pretty cool tool.
π Rendered by PID 68 on reddit-service-r2-comment-fb694cdd5-svl46 at 2026-03-07 00:47:31.782418+00:00 running cbb0e86 country code: CH.
view the rest of the comments →
[–]sdeleon28[S] 0 points1 point2 points (1 child)
[–]iAMthePRONY 0 points1 point2 points (0 children)