Why we have banned default exports in JavaScript and you should do the same

ES2015 was the most important improvement to Javascript in years. Among many great features it brought brand new module system — Ecma… Read more

Similar

Adding Negative Indexes to JavaScript Arrays

Every time I return from ruby/python to JavaScript I'll fall into the same mistake of writing arr[-1] and not getting the last item. JavaScript has a weird way of stringifying object keys which leads to stringifying array indexes which renders the above n... (more…)

Read more »