InterviewSolution
Saved Bookmarks
| 1. |
What is the command used for debugging output in Node?(a) print();(b) console.log(…);(c) debug(…);(d) execute(…); |
|
Answer» The correct answer is (b) console.log(…); Explanation: Console.log() prints the content in the argument on to the output screen. Node defines console.log() for debugging output like browsers do. |
|