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 215 views
1 answer 263 views
1 answer 228 views
1 answer 241 views
1 answer 275 views
...