Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/emscripten-core/emscripten
/ emscripten_throw_number_pre.js
File
emscripten_throw_number_pre.js
test/emscripten_throw_number_pre.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
function
handleThrow(value) {
2
globalThis.disableErrorReporting = true;
3
var
result = value === 42 ? 0 : 1;
4
fetch(
'/report_result?'
+ result);
Callers
nothing calls this directly
Calls
2
addEventListener
Function · 0.85
handleThrow
Function · 0.85
Tested by
no test coverage detected