SQRT in JS
Description
Returns the square root of a number. (JavaScript SQRT Documentation).
Sample Source Pattern
Syntax
Arguments
expression
: Numeric expression to calculate tis square root.
Return Type
Same data type sent through parameter as a numeric expression. If the expression sent as parameter is negative, returns NaN.
Examples
Last updated