-
Notifications
You must be signed in to change notification settings - Fork 1
Sqrt
ricardoboss edited this page Sep 13, 2023
·
1 revision
sqrt
returns the square root of a number.
sqrt(number x)
-
x
is the number to take the square root of.
- if
x
is negative,sqrt
returnsNaN
sqrt(4) // 2
sqrt(9) // 3
sqrt(-1) // NaN
© 2023 Ricardo Boss • Licensed under MIT • Want to update this page? Edit it on GitHub and submit a pull request!