24.168. String.length: the length of a stringECMAScript v124.168.1. Synopsisstring.length 24.168.2. DescriptionThe String.length property is a read-only integer that indicates the number of characters in the specified string. For any string s, the index of the last character is s.length-1. The length property of a string is not enumerated by a for/in loop and may not be deleted with the delete operator. |