This method returns the square root of a given positive number. MathPI returns PI. For a tutorial about the Math object read our JavaScript Math Tutorial.
In the example above this is the person object that owns the fullName function.
It contains well written well thought and well explained computer science and programming articles quizzes and practicecompetitive programmingcompany interview Questions. Read more about the this keyword at JS this Keyword. For a tutorial about the Math object read our JavaScript Math Tutorial. This method returns the value of a given number rounded.