calculate string length in js code example Example: javascript check string lenght let SomeString = "Example"; console.log(SomeString.length)