This method returns the string "Math". But this method does not work with IE.
Its syntax is as follows −
Math.toSource() ;
Returns the string "Math".
Try the following example program.
<html> <head> <title>JavaScript Math toSource() Method</title> </head> <body> <script type="text/javascript"> var value = Math.toSource( ); document.write("Value : " + value ); </script> </body> </html>
Value : Math