Q: 15
developer wants to use a module named universalContainersLib and them call functions
from it.
How should a developer import every function from the module and then call the fuctions foo
and bar ?
Options
Discussion
A works despite the typo. The use of
import * as lib is the ES6 way to import everything, then calling lib.foo() and lib.bar() fits. Pretty sure that's what they're after, even though “ad” should be “as”.C or D? Both seem off, but A has that 'ad' typo. Not sure which one the exam wants here.
A tbh
Nice, this one is worded really clearly. A matches what I've seen on other practice sets.
Be respectful. No spam.