История изменений
Исправление ddidwyll, (текущая версия) :
void function test() { console.log("hi"); }();
try {
test();
} catch (e) {
console.log('test function is not defined');
// Expected output: "test function is not defined"
}
???
Исходная версия ddidwyll, :
void function test() { console.log("hi"); }();
try {
test();
} catch (e) {
console.log('test function is not defined');
// Expected output: "test function is not defined"
}