module.exports
对于没有键的对象如何工作?例如,如果我在test.js
const two = 2;
const three = 3;
module.exports = {two,three}; // Is the right-hand side an object? If so,where are its keys?
// It doesn't look like it's object destructuring.
和app.js
const test = require("./test");
console.log(test.two); // 2
console.log(test.three); // 3