If you try to run porf -e "Math.random(); Porffor.randomByte();", you get the error message:
CompileError: WebAssembly.Module(): Compiling function #1 failed: Invalid global index: 2 @+86
Also, porf -e "console.count" (or countReset / time / timeLog / timeEnd) crashes with TypeError: Cannot read properties of undefined (reading 'ind') in assemble.js where it generates the data section
If you try to run
porf -e "Math.random(); Porffor.randomByte();"
, you get the error message:CompileError: WebAssembly.Module(): Compiling function #1 failed: Invalid global index: 2 @+86