joyent/node — pull request #4366 by tricknotes (2012-12-05 04:43:32+00:00)
Title: events: Support prototype property name as an event type

The prototype name (such as '__proto__') as an event type does not work as my expectation.

```
> var events = require('events')
> var e = new events.EventEmitter();
> e.on('__proto__', function() {});
> e.emit('__proto__');
TypeError: Object #