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


JAVASCRIPT TUTORIALS » Object Oriented » Object »

 

Object.toSource()









Syntax








object.toSource()



The toSource() method gets a string representation of the object.












<html>
    <body>
    <script language="JavaScript">
    <!--
    var aNum = Number(21);

    document.write(aNum.toSource());
    -->
    </script>
    </body>
    </html>







HTML code for linking to this page:

Follow Navioo On Twitter

JAVASCRIPT TUTORIALS

 Navioo Object Oriented
» Object