String Declaration in JavaScript

<script type="text/javascript">

 var myString = "AAA";
 document.write(myString + " has a length of " + myString.length + " characters.");


</script>