Maximum String length

Domenic Denicola d at domenic.me
Wed Jan 28 16:37:42 PST 2015


From: es-discuss [mailto:es-discuss-bounces at mozilla.org] On Behalf Of Jordan Harband

> Strings can't possibly have a length larger than Number.MAX_SAFE_INTEGER - otherwise, you'd be able to have a string whose length is not a number representable in JavaScript.

So? That's a bit inconvenient, but no reason to argue that such a string can't exist.



More information about the es-discuss mailing list