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/m1n0s Apr 29 '19

Just include a polyfill for this bastard