首先测试用例: var EventEmitter = require('events').EventEmitter var life = new EventEmitter(); // life.on('求安慰', function(who){ console.log('xxxx') }) function check(){ console.log('xxxx4354') } life.on('boys',check) // 移除监听 life.removeListener('boys', che…