Skip to content

Commit c805d7e

Browse files
committed
Add another log for IE?
1 parent 3049f87 commit c805d7e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/method-names.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ var E = events.EventEmitter.prototype;
2828
assert.strictEqual(E.constructor.name, 'EventEmitter');
2929
assert.strictEqual(E.on, E.addListener); // Same method.
3030
assert.strictEqual(E.off, E.removeListener); // Same method.
31+
console.log(Object.getOwnPropertyNames(E));
3132
Object.getOwnPropertyNames(E).forEach(function(name) {
3233
if (name === 'constructor' || name === 'on' || name === 'off') return;
3334
if (typeof E[name] !== 'function') return;

0 commit comments

Comments
 (0)