A.  console.log('type : ' + os.type);

B.  console.log('type : ' + os.type());

C.  console.log('type : ' + os.getType());

D.  None of the above.

1
Correct Answer :
console.log('type : ' + os.type());
Explanation :

os.type() returns the operating system name.


Interview Questions

MongoDB
Java Script
Node JS
PHP
JQuery