13 ms·
You mean Node.js's EventEmitter? That's not built into JavaScript (i.e. not a "standard"). Anyway, OnOff is better because: 1. It's smaller. 2. It's simpler/
by riskable 12y ago
You mean Node.js's EventEmitter? That's not built into JavaScript (i.e. not a "standard").
Anyway, OnOff is better because:
1. It's smaller.
2. It's simpler/less complicated.
Also, it doesn't need a noConflict option due to the way it gets instantiated.