String
Strings are generally collection of characters.Strings are always arounds quotes ,it can be single qiotes or double quotes no problem at all.Strings are index based as well.
<script>
var x="Codes Family";
alert(x);
</script>
<script>
var x='Codes Family';
alert(x);
</script>
<script>
var x="Welcome to 'Codes Family'";
alert(x);
</script>
<script>
var x='Welcome to "Codes Family"';
alert(x);
</script>
<script>
var x="Welcome to Codes Family";
alert(x.length);
</script>
<script>
var x="welcome to the \"code\" family"
document.write(x);
</script>
<script>
var x='It\'s really coll';
document.write(x);
</script>
<script>
var x="welcome to the \\code family"
document.write(x);
</script>
<script>
var x= "code \ family!"
document.write(x);
</script>
<script>
var x= "code" + "family!"
document.write(x);
</script>
<script>
var x=new String("codes Family");
document.write(x);
</script>