Code By WuChong 发表于 2014-01-08 文章目录 Normal code block: 123456var http = require('http');http.createServer(function (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/'); Code block: Javascript Array Syntax MDN Documentation12var arr1 = new Array(arrayLength);var arr2 = new Array(element0, element1, ..., elementN); jsFiddle: