Declaring variables in ES6 JavaScript
AUGUST 6, 2017 · 638 WORDS
Before ES6, `var` was the only keyword used to declare variables in JavaScript.
Unlike other languages like C, variables do not need to use different keywords
based on their type. For example in C, integers undergo a different treatment
as compared to strings but in JS we don’t need to specify the type [...]