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