Binary Overdose

This is a list of javascript ‘snippets’ I saved while working on projects recently. There’s ES6/7 stuff in there and some older JS too. I’m not advocating anything here as the best solution to any particular problem, just some mostly terse implementations of some common problems that might help others out.