Jorge Jesus, Pexels.com Introduction Prior to the advent of the ECMAScript 6 standard ( ES6 ) on June 17, 2015, there was only one way to declare a variable in JavaScript: using the var keyword. From ES6 onward, standards have been identified with the year of their finalization. For example, ES6 was also known as ES2015 . Successive standards have been named in the same way—e.g. ES2016 , ES2017 , etc.…