+ 3

Is there another method to solve problem like this?

If we are going to calculate for the square root of a number in javascript, we can use the "Math.sqrt()" in order to get the square root. So, is there any other method to solve problem like this?

15th Aug 2020, 2:33 PM
No Name
2 Respuestas
+ 3
//All three does the same console.log (Math.sqrt(4)) console.log (4**0.5) console.log (Math.pow(4,0.5))
15th Aug 2020, 4:01 PM
Louis
Louis - avatar
+ 3
Louis thank you for sharing
15th Aug 2020, 10:49 PM
No Name