Skip to content

Commit 817fd03

Browse files
committed
check option too
1 parent 10e2a25 commit 817fd03

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

index.js

+1
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,7 @@ export default class Blob {
239239

240240
static [Symbol.hasInstance](object) {
241241
return (
242+
object &&
242243
typeof object === 'object' &&
243244
typeof object.constructor === 'function' &&
244245
(

0 commit comments

Comments
 (0)