Finding the length of a cable in JavaScript is simple, you usage the .length property and also that’s it, right?

Not therefore fast. The “length” of a string might not be specifically what friend expect. It transforms out that the string size property is the number of code units in the string, and also not the number of characters (or more specifically graphemes) as we might expect. For example; "