What is the alternative command used in Node for load()?
A. store()
B. module()
C. log()
D. require()
Answer: Option D
Solution(By Examveda Team)
Use require() instead of load(). It loads and executes (only once) the named module, returning an object that contains its exported symbols.Related Questions on Server Side and Client Side Scripting
What are the events generated by the Node objects called?
A. generators
B. emitters
C. dispatchers
D. highevents
What is the function used to deregister event handler ‘f’?
A. deleteAllListeners(name)
B. deleteListener(name,f)
C. removerListener(name,f)
D. removeAllListeners(name)
What is the function used to remove all handlers for name events?
A. deleteAllListeners(name)
B. deleteListener(name,f)
C. removerListener(name,f)
D. removeAllListeners(name)
Join The Discussion