const http = require('http');
http.createServer((req, res) => {
res.write('Node.js');
res.end();
}).listen(8080, () => console.log('HTTP server is running on port 8080'));
/*
run:
HTTP server is running on port 8080
On web browser: http://localhost:8080/
Node.js
*/