ES6 Tutorial #9 Modules import export

preview_player
Показать описание
A module organizes a related set of JavaScript code. A module can contain variables and functions. A module is nothing more than a chunk of JavaScript code written in a file. By default, variables and functions of a module are not available for use. Variables and functions within a module should be exported so that they can be accessed from within other files. Modules in ES6 work only in strict mode. This means variables or functions declared in a module will not be accessible globally.

-----------------------------------------------------------------Resources-------------------------------------------------------------------------------

------------------------------------------------------------------Timeline----------------------------------------------------------------------------------
0:00 Introduction
0:55 Setup to run modules
2:03 export keyword
3:22 import keyword
4:48 Imports are treated as constants
6:15 Default export
9:48 Limitations of export and import
12:19 Re-exporting bindings
13:22 Outro

------------------------------------------------------------SEO-----------------------------------------------------------------------------------------------
es6 modules import export,javascript modules,es6 modules,js modules,javascript import export,es6 modules in browser,javascript import,es6 import export tutorial,es6 import export,javascript import export tutorial,javascript modules explained,web development,javascript modules in hindi,javascript modules vs classes,javascript modules export class,javascript modules class,commonjs vs es6 modules,modules,export,import,es2015 tutorial,react js modules
Рекомендации по теме