blob: 841022e98bf00db11bcd0cdd615018f971e7f196 [file] [log] [blame]
//@ if $memoryLimited then skip else runDefault end
try {
const s = "123".padStart(1073741823);
JSON.stringify(s);
} catch(e) {
if (e != "Error: Out of memory")
throw e;
}