We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8644f8 commit 70d2ed1Copy full SHA for 70d2ed1
tests/method-names.js
@@ -28,7 +28,6 @@ var E = events.EventEmitter.prototype;
28
assert.strictEqual(E.constructor.name, 'EventEmitter');
29
assert.strictEqual(E.on, E.addListener); // Same method.
30
assert.strictEqual(E.off, E.removeListener); // Same method.
31
-console.log(Object.getOwnPropertyNames(E));
32
Object.getOwnPropertyNames(E).forEach(function(name) {
33
if (name === 'constructor' || name === 'on' || name === 'off') return;
34
if (typeof E[name] !== 'function') return;
0 commit comments