JS copy. const EventEmitter = require('events'). const eventEmitter = new EventEmitter(). This object exposes, among many others, the on and emit methods.
確定! 回上一頁