What is SQRT2 in Math class?

 Posted by Rajesh_Kumar on 2/17/2014 | Category: JavaScript Interview questions | Views: 1556 | Points: 40

Actually SQRT2 is Math property which returns only the square root of 2 which in Mathematics have approx. 1.414.

So if we want square root of 2,then we can use SQRT2 property.
Because SQRT2 is a static property of Math,we always use it as Math.SQRT2.

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response