Examveda
Examveda

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.

Join The Discussion

Related Questions on Server Side and Client Side Scripting