跳到主要内容

asm.js

int f(int i) {
return i + 1;
}
function f(i) {
i = i | 0;
return (i + 1) | 0;
}
const HEAP8 = new Int8Array(e);
const HEAP16 = new Int16Array(e);
const HEAP32 = new Int32Array(e);
const HEAPU8 = new Uint8Array(e);
const HEAPU16 = new Uint16Array(e);
const HEAPU32 = new Uint32Array(e);
const HEAPF32 = new Float32Array(e);
const HEAPF64 = new Float64Array(e);