What is stub in node js?



What is stub in node js?..

Answer / Madan Lal

In Node.js, a stub is a placeholder for a function that has not been implemented yet or a function that simulates the behavior of another library during development and testing.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Node.js Interview Questions

What is node.js and why it is used?

1 Answers  


Why to use exec method for Child process module?

1 Answers  


What are the advantages of NodeJS?

1 Answers  


What is the difference between node and nodejs?

1 Answers  


Are promises better than callbacks?

1 Answers  


List some exit codes?

1 Answers  


How node js read the content of a file?

1 Answers  


Why do we need server side rendering?

1 Answers  


How many types of api functions are there in node.js?

1 Answers  


What is middleware in node.js?

1 Answers  


Does node.js provide any debugger?

1 Answers  


List down the various timing features of node.js.

1 Answers  


Categories