Prints environment info - Node.js Environment

Node.js examples for Environment:Browser

Description

Prints environment info

Demo Code

function writeEnvInfo()
{
  document.write(new Date().toTimeString() + "<br/>");
  document.write(navigator.userAgent + "<br/>");
  document.write(navigator.appName + " (" + navigator.platform + ")<br/><br/>");
}

Related Tutorials