-
Recent Posts
Archives
Categories
Meta
Tag Archives: esnext
ESNext: JavaScript “Nullish Coalescing Operator”
One of my favorite ECMAScript Proposals is the “Optional Chaining Operator”. Another proposal that forms great duo with it is the “Nullish Coalescing Operator” (sometimes also referred to as “Nullary Coalescing Operator”). Both proposals still are Stage-1, but don’t let … Continue reading
JavaScript: What’s new in ECMAScript 2018 (ES2018)?
At the latest TC39 meeting the new features that will make it into the “ECMAScript® 2018 Language Specification” (ES2018) have been selected. All proposals that have reached stage-4 since the consolidation of ES2017 got selected. This post gives one a … Continue reading
JavaScript: Removing a property from an object immutably by destructuring it
Say you have a JavaScript object like this: const user = { firstName: ‘Bramus’, lastName: ‘Van Damme’, twitter: ‘bramus’, city: ‘Vinkt’, email: ‘bramus@bram.us’, }; And now say you want to create a copy of the whole object, except for the … Continue reading
What’s new in JavaScript? ES2017/“ES8” Language Features
The ECMAScript 2017 Language Specification – the 8th edition of the spec – was officially released at the end of June by TC39. 💁♂️ ICYWW: Should we say ES2017 or ES8? → Say ES2017. Back in the day ES6 was … Continue reading
ESNext: JavaScript “Optional Chaining Operator”
UPDATE: The proposed operator got renamed from “Null Propagation Operator” to “Optional Chaining Operator”. This post has been updated to include this change. Earlier today I was delighted to see that the “Optional Chaining Operator” in JavaScript has entered stage-1. … Continue reading