String.prototype.trimStart
/ String.prototype.trimEnd
The proposal “String.prototype.trimStart
/ String.prototype.trimEnd
” (by Sebastian Markbåge) is at stage 4 and therefore part of ECMAScript 2019. This blog post explains how it works.
Symbol.prototype.description
The proposal “Symbol.prototype.description
” (by Michael Ficarra) is at stage 4 and therefore part of ECMAScript 2019. This blog post explains how it works.
JSON.stringify
The proposal “Well-formed JSON.stringify
” (by Richard Gibson) is at stage 4 and therefore part of ECMAScript 2019. This blog post explains how it works.
Object.fromEntries()
The proposal “Object.fromEntries
” (by Darien Maillet Valentine, Jordan Harband and Kevin Gibbons) is at stage 4 and therefore part of ECMAScript 2019. This blog post explains how it works.
In recent years, JavaScript has grown considerably in size. This blog post explores what’s still missing.
The best way of creating an Array, is via a literal:
const arr = [0,0,0];
Alas, that isn’t always an option, e.g. when creating large Arrays. This blog post examines what to do in those cases.
Status of ECMAScript module (ESM) support in Node.js:
In October, the Modules Team published the document “Plan for New Modules Implementation”. This blog post explains what it contains.
This blog post takes you behind the scenes of my latest book, “JavaScript for impatient programmers” (which I’ll occasionally abbreviate as “Impatient JS”). It describes:
This blog post describes a trick for running a snippet of JavaScript code with Node.js while working on it.
In this blog post, a describe a little hack for quickly setting up constants (think enum values, but not wrapped inside a namespace). It is more an educational puzzle than something you should actually use in your code.