adspace
What happens if we call require() method to load same module multiple times in Node.js?
Answer Posted / Udai Veer Singh
If you call 'require' to load the same module multiple times in Node.js, the module will only be loaded once. Subsequent calls will return the same object instance.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers