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