We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43a1d18 commit 995ba81Copy full SHA for 995ba81
src/worker.js
@@ -99,7 +99,7 @@ Module['instantiateWasm'] = (info, receiveInstance) => {
99
// Turn unhandled rejected promises into errors so that the main thread will be
100
// notified about them.
101
self.onunhandledrejection = (e) => {
102
- throw e.reason ?? e;
+ throw e.reason || e;
103
};
104
105
function handleMessage(e) {
0 commit comments