requiere dan mendapatkan properti disederhanakan dengan node

// This statement
const socket = require('../../socket).socket;
// Is the same as this
const { socket } = require('../../socket');
Handsome Hummingbird