Claude Pache (2015-01-28T12:14:44.000Z)
d at domenic.me (2015-02-13T23:29:41.175Z)
Le 28 janv. 2015 à 09:58, Jordan Harband <ljharb at gmail.com> a écrit : > To me, "finite" here means `Number.MAX_VALUE` - ie, the highest number I can get before I reach Infinity. An alternative reading is "any number greater than zero that's not Infinity" - but at that point an implementation conforms if it's max length is 1, which obviously would be silly. > To me, "finite" is just to be taken in the common mathematical sense of the term; in particular you could have theoretically a string of length 10^10000. But yes, it would be reasonable to restrict oneself to strings of length at most 2^52, so that `string.length` could always return an exact answer.