Mega Code Archive

 
Categories / JavaScript Tutorial / String
 

String fixed()

The fixed() method converts the string to an instance of the tag. <html>     <script language="JavaScript">     <!--     var myString = new String("Hello, World!");     document.write(myString.fixed());     document.close();     -->     </script> </html>