source-academy/js-slang

Stepper: Built-In function errors not caught and crashing the frontend

Closed this issue · 0 comments

The following code snippets will crash the frontend

head();
tail("");
head(undefined);
function foo() {};  tail(foo);
head("foo");

as per the comment here:
#1712 (comment)