r/javascript • • Apr 28 '19

7 Useful JavaScript Tricks

https://davidwalsh.name/javascript-tricks
505 Upvotes

36 comments sorted by

View all comments

57

u/drowsap Apr 28 '19

URLSearchParams is awesome!

7

u/yeskia Apr 29 '19

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.

2

u/SemiNormal Apr 29 '19

IE just being IE. Object.Assign bit me in the rear a few weeks ago.