Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是:
// Load the net module to create a tcp server. var net = require('net');
使用require.js?
require是 Node.js 中的全局范围函数。
require
不,不是。
函数 ,require是 node.js 自己写的函数。