{"size": 335, "ext": "js", "max_stars_repo_path": "start/event2.js", "max_stars_repo_name": "imuntil/nodejs", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "start/event2.js", "max_issues_repo_name": "imuntil/nodejs", "max_issues_repo_issues_event_min_datetime": "2021-09-01T08:10:08.000Z", "max_issues_repo_issues_event_max_datetime": "2022-03-03T22:24:00.000Z", "max_forks_repo_path": "start/event2.js", "max_forks_repo_name": "imuntil/nodejs", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 3, "max_forks_count": null, "avg_line_length": 27.9166666667, "max_line_length": 47, "alphanum_fraction": 0.6447761194}
/**
 * Created by 斌 on 2017/2/18.
 */
var events = require('events');
var emitter = new events.EventEmitter();
emitter.on('someEvent', function (arg1, arg2) {
    console.log('listen1', arg1, arg2);
});
emitter.on('someEvent', function (arg1, arg2) {
    console.log('listen2', arg1, arg2);
});
emitter.emit('someEvent', '参数1', '参数2');