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 c281ad2 commit 10e2a25Copy full SHA for 10e2a25
index.js
@@ -239,7 +239,8 @@ export default class Blob {
239
240
static [Symbol.hasInstance](object) {
241
return (
242
- typeof object?.constructor === 'function' &&
+ typeof object === 'object' &&
243
+ typeof object.constructor === 'function' &&
244
(
245
typeof object.stream === 'function' ||
246
typeof object.arrayBuffer === 'function'
0 commit comments