- coffeescript
http = require 'http'
httpd = http.createServer (req, res) ->
res.writeHead 200, 'Content-Type': 'text/plain'
res.end 'Hellow World'
httpd.listen 1377, '127.0.0.1'
console.log 'Server running at http://127.0.0.1:1377/'
- quickrunの結果
http = require 'http'
httpd = http.createServer (req, res) ->
res.writeHead 200, 'Content-Type': 'text/plain'
res.end 'Hellow World'
httpd.listen 1377, '127.0.0.1'
console.log 'Server running at http://127.0.0.1:1377/'