Hello humans. In JavaScript, the worlds most loved and internets favourite client-side language, thanks to modern ECMAScript standards, we …
Javascript
The State of JS Survey Is A Farce: Part Two
Recently, I published a blog title which I titled, The State of JS Survey Is A Farce in which I expressed criticism that the State of JS …
The State of JS Survey Is A Farce
The State of JS is a survey that has been running for a few years now, which surveys front-end developers and aims to find out what they're …
Computed Object Keys and Function Names In Javascript
For years, I wanted the ability to use variables as object keys in Javascript. Thanks to ES2015, we got the ability to have computed object …
How To Convert FormData To JSON Object
Recently, whilst working on a project I needed to take HTML FormData and then convert it to JSON to be sent off to an API. By default the …
Module ES2015 and TypeScript 2.4 Dynamic Imports
Introduced in TypeScript 2.4 is support for the ECMAScript dynamic imports feature. If you didn't see the announcement or read it properly, …
Efficiently Looping A Javascript Array Backwards
Most of the time when you're looping over an array of elements, you'll do it sequentially. However, I recently needed to iterate through an …
Configuring Git Pre Commit Hook And TSLint (automatically)
If you're a TypeScript user and you're reading this, then you're using TSLint (most likely). Recently, a situation at work arose where even …
Dealing With Tslint Errors/Warnings In Third Party Files
This might be a bit of an edge case for some, but recently I needed to use a third-party script in my Aurelia TypeScript application that …