Skip to content

Commit 5d8b641

Browse files
committed
fixup! use kEmptyObject
Signed-off-by: Daeyeon Jeong [email protected]
1 parent 1018e50 commit 5d8b641

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/event_target.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ class Event {
9696
* composed?: boolean,
9797
* }} [options]
9898
*/
99-
constructor(type, options = {}) {
99+
constructor(type, options = kEmptyObject) {
100100
if (arguments.length === 0)
101101
throw new ERR_MISSING_ARGS('type');
102102
validateObject(options, 'options');

0 commit comments

Comments
 (0)