find the length of a string in javascript code example
Example 1: length of string in javascript
var str = "Hello World!";
var n = str.length;
Example 2: javascript check string lenght
let SomeString = "Example";
console.log(SomeString.length)