We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 345731b commit 8710318Copy full SHA for 8710318
tools/pack-wasm.ts
@@ -35,7 +35,7 @@ function getString(ptr) {
35
var u16 = new Uint16Array(buffer);
36
var offset = (ptr + 4) >>> 1;
37
var length = u32[ptr >>> 2];
38
- return String.fromCharCode(...u16.subarray(offset, offset + length))
+ return String.fromCharCode.apply(String, u16.subarray(offset, offset + length))
39
}
40
41
function abort(message, filename, line, column) {
0 commit comments