Method for length of string in JS
<!DOCTYPE html>
<html>
<head>
<title>Test page for positions</title>
<script type="text/javascript">
var str= "HELLO WORLD!!";
var b= str.length; //string method used here
console.log(b);
</script>
</head>
<body>
</body>
</html>
Comments
Post a Comment
I WOULD APPRECIATE IF YOU LEAVE A COMMENT OR YOUR FEEDBACK HERE !!!