📜  需要并获得使用 Node 简化的属性 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:03:02.702000             🧑  作者: Mango

代码示例1
// This statement
const socket = require('../../socket).socket;
// Is the same as this
const { socket } = require('../../socket');