Issue #5

Vue.js is number one for the third consecutive week.

ES2018, the latest specification of the JavaScript language, has been officially published this week.

Let’s have a look at the main features of this specification:

  • Object “rest” properties and spread operator (dot dot dot ...)
  • Asynchronous iterators: you can use for await to loop through iterators that return Promises
  • Promise.finally(), useful to run statements whenever a Promise either resolves or rejects
  • Features related to regular expressions (RegExp), including the “named capture group”.

For more details, check What’s new in ECMAScript 2018.

Note that Create React App, in the TOP 10 this week, lets you write React applications taking advantage of a lot of the recent additions to the JavaScript language, including the rest properties and the spread operator.

Asynchronous iterators are supported in node.js 10, they can be used to consume a stream of data as mentioned in this article by Dr. Axel Rauschmayer.

If you want to dive right into the code and see asynchronous iterators in action, you can run this simple GitHub Gist that I’ve wrote especially for my dear readers. Feel free to comment!

Vue.js
Vue.js
+1.1 k
🖖 A progressive, incrementally-adoptable JavaScript framework for building UI on the web.
JS Algorithms & Data Structures
JS Algorithms & Data Structures
+997
Algorithms and data structures implemented in JavaScript with explanations and links to further readings
React
React
+805
A declarative, efficient, and flexible JavaScript library for building user interfaces.
deno
deno
+782
A secure TypeScript runtime on V8
Docz
Docz
+499
✍🏻It has never been so easy to document your things!
VS Code
VS Code
+417
Visual Studio Code
Awesome
Awesome
+373
Curated list of awesome lists
Create React App
Create React App
+371
Create React apps with no build configuration.
You Don't Know JS
You Don't Know JS
+367
A book series on JavaScript. @YDKJS on twitter.
Puppeteer
Puppeteer
+355
Headless Chrome Node API

Any question or feedback? Reach us on GitHub.

Best of JavaScript is a project created by Michael Rambeau, made in Osaka, Japan.