Vidyalelo
JavaScript · Q111

Caching And Debugging

Programming · JavaScript · question 111

Q111

What is the purpose of the Math method toSource()?

A.
Returns the string “Math”
Answer
B.
Sends the source to the Math Library
C.
Returns the value of the object
D.
None of the mentioned

Answer: Option A

Solution

Answer: Option A
Solution:
The method Math.toSource() returns the string “Math”. But this method does not work with many browsers like IE.