ES6 syntax shit

ONE OF THE HARDEST things about Javascript right now is that the syntax is ALL OVER THE BOARD. There is this new way of doing things ES6, dumbass browsers like IE can’t interpret ES6, so you need a transpiler. ALL SORTS OF SHIT. Then you can also still write es5. So I’m going to compile THE BEST LIST OF ES6 shit. And by best I mean it will probably help me and the rest of you will leave pissed off.

Ahh… es6… … … OH YEA, … is REALLY IMPORTANT in es6 and I can never remember WTF it does.

Default params

function posts(state = [], action) {


Post Content