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