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