Sail E0 Webinar
Question
What is the alternative command used in Node for load()?
Options:
A .  store()
B .  module()
C .  log()
D .  require()
Answer: Option D


Use require() instead of load(). It loads and executes (only once) the named module, returning an object that contains its exported symbols.



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers