June 2018
Beginner
288 pages
6h 31m
English
Here are the solutions to the Exercises for the Chapter 9, Using Modules chapter.
false. Each module is loaded at most once in the execution flow.
false. No; to export as default, we need to place the keyword default. Inlined export creates a named export.
false. The importing module provides names for the defaults, so there are no conflicts.
true. Inline exports are less verbose than explicit exports.
false. A module may have at most one default export, but it may have any number of nondefault exports.
Use explicit import when you want to export
only select variables from multiple declarations
a variable with a different name than its declared name
The importing module sees the name of the default ...
Read now
Unlock full access