File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -332,7 +332,7 @@ class PerformanceObserver extends AsyncResource {
332
332
}
333
333
334
334
observe ( options ) {
335
- if ( typeof options !== 'object' || options == null ) {
335
+ if ( typeof options !== 'object' || options === null ) {
336
336
throw new ERR_INVALID_ARG_TYPE ( 'options' , 'Object' , options ) ;
337
337
}
338
338
if ( ! Array . isArray ( options . entryTypes ) ) {
Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ class Tracing {
73
73
}
74
74
75
75
function createTracing ( options ) {
76
- if ( typeof options !== 'object' || options == null )
76
+ if ( typeof options !== 'object' || options === null )
77
77
throw new ERR_INVALID_ARG_TYPE ( 'options' , 'object' , options ) ;
78
78
79
79
if ( ! Array . isArray ( options . categories ) ) {
You can’t perform that action at this time.
0 commit comments