Node.js · Junior · Question 4 of 75
Which of these is NOT available in Node.js by default?
- ✓Correct answer:
documentand the DOM - 2
setTimeout - 3
console.log
Explanation
There is no page in Node.js, so there is no document or window. Instead Node.js provides modules such as fs, http and process. Timers and console exist in both environments.