Notifications
Clear all

How should a developer import every function from the module and then call the fuctions foo and bar?

1 Posts
1 Users
0 Likes
100 Views
(@rippesteban)
Posts: 727
Noble Member
Topic starter
 

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?

  • A . import * ad lib from ‘/path/universalContainersLib.js’;
    lib.foo();
    lib.bar();
    B. import (foo, bar) from ‘/path/universalContainersLib.js’;
    foo();
    bar();
    C. import all from ‘/path/universalContaineraLib.js’; universalContainersLib.foo(); universalContainersLib.bar();
    D. import * from ‘/path/universalContaineraLib.js’; universalContainersLib.foo(); universalContainersLib.bar();

Show Answer Hide Answer

Suggested Answer: A
 
Posted : 01/12/2022 8:32 pm

Latest Salesforce JavaScript Developer I Dumps Valid Version

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund
Share: