Returns the square root of a non-negative number.
The number to find the square root of.
The square root of the given number.
Will throw an error if the input is negative.
sqrt(9); // returns 3sqrt(0); // returns 0 Copy
sqrt(9); // returns 3sqrt(0); // returns 0
Returns the square root of a non-negative number.