why am i getting an error instead of close emitter code example
Example: eventemitter nodejs
myEmitter.on('status', (code, msg)=> console.log(`Got ${code} and ${msg}`));
myEmitter.on('status', (code, msg)=> console.log(`Got ${code} and ${msg}`));