If the value of x is negative, Math.sqrt() returns NaN . Because sqrt() is a static method of Math , you always use it as Math.sqrt() ...
確定! 回上一頁