blob: f194854f1d621a92c0ee2c447bb664ed7c7d24f9 [file] [log] [blame]
//@ skip if $memoryLimited
//@ runDefault
try {
''.padStart(2**31-1)();
} catch(e) {
exception = e;
}
if (exception != "Error: Out of memory")
throw "FAILED";