![]() Let is also used to declare variables(new way)Ĭonst is used to declare const values.JavaScript Snippet ' use strict ' // Example 1: Creating a new class (declaration-form) // = // A base class is defined using the new reserved 'class' keyword class Polygon var stack = new Stack () stack. There are new features, which improve the language, new standards, like ES6 but also, there are some features that don’t exist. Var is used to declare variables(old way of declaring variables) It seems that Javascript world is evolving faster and faster. ES6 is short-hand for EcmaScript 6, which is a deprecated name for the EcmaScript 2015 language specification.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |