Pages

Javascript Math - toSource Method

Description:

This method returns the string "Math". But this method does not work with many browsers like IE.

Syntax:

Math.toSource() ;
Here is the detail of parameters:
  • NA

Return Value:

Returns the string "Math".

Example:

<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 
 
+JavaScript +JavaScript Frameworks Links +Javascript Development 
+JavaScript's and More, Software and Marketing +JavascriptU +JavaScriptOn 
+Javascript Problems +JavaScriptOn 
 +javaScript is a creek in West Virginia in the summe  
+enJineS +JavascriptU +Javascript Tutor   

No comments:

Flag Counter
| Copyright © 2013 Remote Tutor