You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I am using JS-interpreter and have observed that the try-catch syntax does not work correctly and stops with an error in the following case.
try {
new Date(NaN).toISOString();
} catch (e) {
alert("caught");
}
I am guessing the cause is that this program is using the native toISOString() and the error occurs outside of the interpreter (native). These errors need to be propagated inside the interpreter, or to be raised internally.