Make Money Online HTML PHP JAVASCRIPT Advanced JavaScript Tutorial in Hindi [Part 87] – Modules in ES6 (JavaScript)

Advanced JavaScript Tutorial in Hindi [Part 87] – Modules in ES6 (JavaScript)

Advanced JavaScript Tutorial in Hindi [Part 87] – Modules in ES6 (JavaScript) post thumbnail image



#Javascript #Tutorial #Hindi

Link for Complete JavaScript Tutorial in Hindi for Beginners:

Link for Complete HTML and CSS Tutorial in Hindi for Beginners:

In this video i will talk about Modules in ES6 (JavaScript).

JavaScript programs started off pretty small — most of its usage in the early days was to do isolated scripting tasks, providing a bit of interactivity to your web pages where needed, so large scripts were generally not needed. Fast forward a few years and we now have complete applications being run in browsers with a lot of JavaScript, as well as JavaScript being used in other contexts (Node.js, for example).

It has therefore made sense in recent years to start thinking about providing mechanisms for splitting JavaScript programs up into separate modules that can be imported when needed. Node.js has had this ability for a long time, and there are a number of JavaScript libraries and frameworks that enable module usage (for example, other CommonJS and AMD-based module systems like RequireJS, and more recently Webpack and Babel).

The good news is that modern browsers have started to support module functionality natively, and this is what this video is all about. This can only be a good thing — browsers can optimize loading of modules, making it more efficient than having to use a library and do all of that extra client-side processing and extra round trips.

in this tutorial, you will learn about ES6 modules and how to export variables, functions, classes from a module, and reuse them in other modules.

An ES6 module is a JavaScript file that executes in strict mode only. It means that any variables or functions declared in the module won’t be added automatically to the global scope.

Please subscribe to watch more videos like this:

Join this channel to support Tech Gun:

Related Post