Yes, that's right. There's no explicit EventEmitter class. At the moment it is in all objects by default - initially the performance cost of adding it to every object was less than having two different kinds of object. It's something I did plan on changing at some point but it's been low priority.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Yes, that's right. There's no explicit
EventEmitter
class. At the moment it is in all objects by default - initially the performance cost of adding it to every object was less than having two different kinds of object. It's something I did plan on changing at some point but it's been low priority.