The length data property of a {{jsxref("String")}} value contains the length of the string in UTF-16 code units. The language specification requires strings to have a maximum length of 2 53 - 1 ...