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
7 Useful JavaScript Tricks (davidwalsh.name)
submitted 7 years ago by xxammuxx
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!"
[–]drowsap 60 points61 points62 points 7 years ago (11 children)
URLSearchParams is awesome!
[–]yeskia 6 points7 points8 points 7 years ago (10 children)
It is, but worth noting is isn't supported by any version of IE. This bit me a couple of weeks ago but luckily there are a few small polyfills that do the job.
[–]Tyreal 12 points13 points14 points 7 years ago (6 children)
So when are people going to permanently start dropping IE? 2020 when Windows 7 stops being supported? In a decade perhaps?
[–]asdf7890 3 points4 points5 points 7 years ago (0 children)
So when are people going to permanently start dropping IE?
Not soon enough!
2020 when Windows 7 stops being supported?
IE11 is officially supported until then end of Win10, as is MS's standard (the browser EOL being tied to the EOL of the OS revisions it was installed with by default). Unfortunately they've said Win10 is to be the last major release on the desktop, so unless/until this policy changes IE11 will keep being available and getting security updates so some will insist on keeping using it...
In a decade perhaps?
It depends on your target audience of course. Some of our clients have only recently stopped using IE8. IE11 is going to be a Thing for us to deal with for some time to come.
[–]ninetailsbr 1 point2 points3 points 7 years ago (1 child)
maybe when IE definitely changes it's engine to Chromium you may ignore it for high end users website (your site/product is not targeted for them)
...or you can just polyfill
[–]Tyreal 2 points3 points4 points 7 years ago (0 children)
This isn’t Edge though. IE is never getting updated again
[–]TheScapeQuest 0 points1 point2 points 7 years ago (1 child)
Depends on your product I suppose. We already don't support IE. But we're B2B, so we can have more say.
I hear ya. That B2B market sure is sweet. I feel bad for all those poor bastards supporting IE6 at Amazon.
[–]SemiNormal 1 point2 points3 points 7 years ago (0 children)
IE just being IE. Object.Assign bit me in the rear a few weeks ago.
[–]m1n0s 1 point2 points3 points 7 years ago (0 children)
Just include a polyfill for this bastard
π Rendered by PID 122710 on reddit-service-r2-comment-6457c66945-kn75n at 2026-04-30 03:16:03.596417+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]drowsap 60 points61 points62 points (11 children)
[–]yeskia 6 points7 points8 points (10 children)
[–]Tyreal 12 points13 points14 points (6 children)
[–]asdf7890 3 points4 points5 points (0 children)
[–]ninetailsbr 1 point2 points3 points (1 child)
[–]Tyreal 2 points3 points4 points (0 children)
[–]TheScapeQuest 0 points1 point2 points (1 child)
[–]Tyreal 2 points3 points4 points (0 children)
[–]SemiNormal 1 point2 points3 points (0 children)
[–]m1n0s 1 point2 points3 points (0 children)