module.exports = Table;
let table = Table.prototype;
table.test1= function() {};
table.test2= function() {};
这样写是不是就等于,请大佬给我上上课
module.exports = {
test1,
test2
}
module.exports = Table;
let table = Table.prototype;
table.test1= function() {};
table.test2= function() {};
这样写是不是就等于,请大佬给我上上课
module.exports = {
test1,
test2
}
13 回答12.8k 阅读
7 回答2k 阅读
3 回答2.6k 阅读✓ 已解决
3 回答1.1k 阅读✓ 已解决
2 回答1.2k 阅读✓ 已解决
6 回答921 阅读✓ 已解决
6 回答1.1k 阅读