summaryrefslogtreecommitdiff
path: root/test/wasm2js.asserts.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/wasm2js.asserts.js')
-rw-r--r--test/wasm2js.asserts.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/wasm2js.asserts.js b/test/wasm2js.asserts.js
index 3f0fb6709..daa1deda1 100644
--- a/test/wasm2js.asserts.js
+++ b/test/wasm2js.asserts.js
@@ -76,8 +76,8 @@ function asmFunc0(global, env, buffer) {
};
}
-const memasmFunc0 = new ArrayBuffer(65536);
-const retasmFunc0 = asmFunc0({Math,Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,NaN,Infinity}, {abort:function() { throw new Error('abort'); }},memasmFunc0);
+var memasmFunc0 = new ArrayBuffer(65536);
+var retasmFunc0 = asmFunc0({Math,Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,NaN,Infinity}, {abort:function() { throw new Error('abort'); }},memasmFunc0);
function check1() {
retasmFunc0.empty();
return 1 | 0;