Skip to content

Commit 2b16d3d

Browse files
committed
woopsie
1 parent 78b037d commit 2b16d3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/asbind-instance/asbind-instance.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ function copyObject(obj, { depth = Number.POSITIVE_INFINITY } = {}) {
2121

2222
async function compileStreaming(source) {
2323
source = await Promise.resolve(source);
24-
if (typeof Response === "object" && source instanceof Response) {
24+
if (typeof Response !== "undefined" && source instanceof Response) {
2525
if (WebAssembly.compileStreaming) {
2626
return WebAssembly.compileStreaming(source);
2727
}

0 commit comments

Comments
 (0)