Take advantage of TypeScript's type-checking without a compilation step
... (more…)
Read more »
Lots of people treat the ternary operator with suspicion. At first glance, ternaries appear unnecessary. Nothing more than a tool for the overly clever to trim some characters from their code. A favourite hack for coders who don’t care about readability. ... (more…)
Read more »
A bunch of things are moving in JavaScript - it is quite feasible that the JS of 10 years from now will look totally unrecognizable... (more…)
Read more »
In this blog post, I take a different approach to explaining `this` in JavaScript: I pretend that arrow functions are the real functions and ordinary functions a special construct for methods. I think it makes `this` easier to understand – give it a try. (more…)
Read more »
ES2021 edition of “JavaScript for impatient programmers” - impatient-js-es2021.md... (more…)
Read more »