摘要:
node.js中的module.export和exports是有区别的。exports可以认为是module.exports的添加接口,如果是module.exports有定义引入,exports也有定义引入,那对外暴露的接口是module.exports定义的,而不是exports定义的,modu... 阅读全文
posted @ 2014-09-22 17:24
前端小蜗牛
阅读(203)
评论(0)
推荐(0)
摘要:
//引入模块var http = require('http'), url = require('url'), querystring = require('querystring'), fs = require('fs'), dns = require('dns');//展... 阅读全文
posted @ 2014-09-22 16:38
前端小蜗牛
阅读(369)
评论(0)
推荐(0)
浙公网安备 33010602011771号