We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 173e528 commit e34733dCopy full SHA for e34733d
lib/internal/perf/observe.js
@@ -260,7 +260,7 @@ class PerformanceObserver {
260
} = { ...options };
261
if (entryTypes === undefined && type === undefined)
262
throw new ERR_MISSING_ARGS('options.entryTypes', 'options.type');
263
- if (entryTypes != null && (type != null || buffered))
+ if (entryTypes != null && (type != null || buffered != null))
264
throw new ERR_INVALID_ARG_VALUE('options.entryTypes',
265
entryTypes,
266
'options.entryTypes can not set with ' +
0 commit comments