Function.toSource() : Function Object : Function JAVASCRIPT TUTORIALS


JAVASCRIPT TUTORIALS » Function » Function Object »

 

Function.toSource()







The toSource() method can create a copy of an object.












<html>
    <body>
    <script lanuguage="JavaScript">
    <!--
        var aString = new String("This is the source");
        bString = aString.toSource();
        document.write(bString);
    -->
    </script>
    </body>
    </html>







HTML code for linking to this page:

Follow Navioo On Twitter

JAVASCRIPT TUTORIALS

 Navioo Function
» Function Object