Tag: ECMAScript 6
-
Video – JavaScript object instances does not copy definition from the class
I recently wrote a blog post about Two Problems of a JavaScript Class. In my opinion one gotchas in a JavaScript class is , object instances does not copy definition from the class. Watch this video to understand it through codes. f you like the video , do not forget to subscribe to our YouTube Channel for notification about…
-
What is “let” statement in JavaScript?
Using the let statement, you can create Block scoped local variables in JavaScript. The let statement was introduced in the ECMAScript 6 standard of JavaScript. Before ECMAScript 6, JavaScript had three types of scoping: Global scoping Functional scoping Lexical scoping To explore let statement in detail, consider the code snippet given below: This file contains…