myString.length in ECMAScript 262
The number of characters in the string.
This property is read-only.
- Property Type
- Number
var msg = "It's the end of the world as we know it, and I feel fine.";
var len = msg.length;
// ** len is 57
The number of characters in the string.
This property is read-only.
var msg = "It's the end of the world as we know it, and I feel fine.";
var len = msg.length;
// ** len is 57