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 ab1a0a2 commit b51449cCopy full SHA for b51449c
JavaScript/9-events.js
@@ -1,6 +1,6 @@
1
'use strict';
2
3
-const { EventEmitter } = require('events');
+const { EventEmitter } = require('node:events');
4
const ee = new EventEmitter();
5
6
// Emulate asynchronous calls
0 commit comments