len of string js code example
Example 1: js string length
let str = "foo";
console.log(str.length);
// 3
Example 2: javascript check string lenght
let SomeString = "Example";
console.log(SomeString.length)
let str = "foo";
console.log(str.length);
// 3
let SomeString = "Example";
console.log(SomeString.length)