how to check string length in javascript

how to get string length using javascript

solution

var len=”Good morning”;
alert(len.length);

 

About the Author

avatar