The ES2019 specification may have been a smaller addition to JavaScript, but it still brought some interesting features. This tutorial will show you eight ES2019 features that can make your life easier. These features include trimStart() , trimEnd(), flat() , flatMap() , Object.fromEntries() and more.

6m read timeFrom alimammiya.hashnode.dev
Post cover image
Table of contents
String.prototype.trimStart() and String.prototype.trimEnd()Function.prototype.toString()Array.prototype.flat() and Array.prototype.flatMap()Object.fromEntries()Optional catch bindingWell-formed JSON.stringify()Symbol.prototype.descriptionConclusion: 8 useful JavaScript ES2019 features to know about

Sort: