blob: 68fe52829e6c0c2bcc1eb8d711da5c7c69d40647 [file] [log] [blame]
const s1 = (-1).toLocaleString().padEnd(2**31-1, 'aa');
try {
s1.toUpperCase();
} catch (e) {
exception = e;
}
if (exception != "RangeError: Out of memory")
throw "FAILED";