Speed up development with full-stack environments for every branch.

Learn More

suniltanejatest [Node.js and Hello World]

Forked from Hello World for Node.js.

0 Runs 1 Views 0 Copies

Hello world in Node.js

Saved

Saved

suniltaneja 1

suniltaneja
published 3 years ago

    var http = require('http');
    http.createServer(function (req, res) {
      res.writeHead(200, {'Content-Type': 'text/plain'});
      res.end('Hello World\n');
    }).listen(80);
    console.log('Server listening on port 80');
    
    Please login/signup to get access to the terminal.

    Your session has timed out.

    Dismiss (the page may not function properly).