1.

What is the command to run the node programs?(a) node(program.js)(b) program.js(c) node program.js(d) node.program.jsThis question was posed to me during a job interview.This question is from Asynchronous I/O with Rhino topic in section Server-Side and Client-Side Scripting of JavaScript

Answer»

Correct answer is (c) NODE PROGRAM.js

For EXPLANATION I would say: The node programs can be run with the COMMAND:node program.js. The command can be written more SIMPLY like node program.



Discussion

No Comment Found

Related InterviewSolutions