How to get the cube root of a number in JavaScript

1 Answer

0 votes
console.log(Math.cbrt(8));
console.log(Math.cbrt(27));
console.log(Math.cbrt(64));




/*
run:
 
2
3
4
    
*/

 



answered Mar 13, 2020 by avibootz

Related questions

1 answer 212 views
1 answer 260 views
1 answer 227 views
1 answer 240 views
1 answer 273 views
...