Open
Description
Adding ES6+ Syntax to the Examples
Currently, examples in the documentation use the old version of JavaScript. Namely the pre ES6 version with some practices already abandoned in most of the projects, such as using const & let
instead of var
, the use of callbacks.
Possible Changes
- Variables initiated with
var
can be changed toconst
orlet
depending on the context - Promises can be used, instead of callbacks
- Optionally, "commonjs" importing technique, can be changed with ES6
import
keyword
Metadata
Metadata
Assignees
Labels
No labels