NodeJs--模块分类

一,模块的基本分类 二,模块的流程 三,简单示例 1,模块student: function add(student){ console.log('add student:'+student); } exports.add=add 2,模块teacher: function add(teacher){ console.log('add teacher:'+teacher); } exports
相关文章
相关标签/搜索