String.fixed() : fixed « String « JavaScript Tutorial






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>








6.12.fixed
6.12.1.String.fixed()