Demo entry 6751277

Test

   

Submitted by anonymous on Jun 22, 2018 at 09:06
Language: JavaScript. Code size: 243 Bytes.

const http = require('http');

http.createServer((req, res) => { 
  res.writeHead(200, {'Content-Type': 'text/plain'}); 
  res.end('Hello World\n'); 
}).listen(1337, '127.0.0.1');

console.log('Server running at http://127.0.0.1:1337');

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).