How to use toSource in JavaScript
In this article, I will explain use of toSource () Method in JavaScript.
JavaScript toSource() Method
Syntax
Example
In the following example show to how the toSource() method can be used.
<html>
<head>
<title>JavaScript Math toSource() Method</title>
</head>
<body>
<h3 style="color:Blue">JavaScript toSource() Method Example</h3>
<script type="text/javascript">
var value = Math.toSource();
document.write("Value of tosource() method: " + value);
</script>
</body>
</html>
|
Output

You may also want to read these related articles here
Ask Your Question
Got a programming related question? You may want to post your question here
Programming Answers here