File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
1-js/13-modules/02-import-export Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -428,14 +428,14 @@ You can check yourself by reading them and recalling what they mean:
428428
429429Import:
430430
431- - Named exports from module :
431+ - Importing named exports :
432432 - ` import {x [as y], ...} from "module"`
433- - Default export:
433+ - Importing the default export:
434434 - ` import x from "module"`
435435 - ` import {default as x} from "module"`
436- - Everything :
436+ - Import all :
437437 - ` import * as obj from "module"`
438- - Import the module (its code runs), but do not assign it to a variable :
438+ - Import the module (its code runs), but do not assign any of its exports to variables :
439439 - ` import "module"`
440440
441441We can put ` import/export` statements at the top or at the bottom of a script, that doesn' t matter.
You can’t perform that action at this time.
0 commit comments