Copyright © tutorialspoint.com
This method returns the string "Math". But this method does not work with many browsers like IE.
Math.toSource() ; |
Here is the detail of parameters:
NA
Returns the string "Math".
<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> |
This will produce following result:
Value : Math |
To understand it in better way you can Try it yourself.
Copyright © tutorialspoint.com