javascript 4th root code example
Example 1: javascript nth root
var root = 3;
var number = 27;
var answer = Math.pow(number, 1 / root); // 3
Example 2: cubic root javascript
let x = 8;
Math.cbrt(x);
// output = 2;
var root = 3;
var number = 27;
var answer = Math.pow(number, 1 / root); // 3
let x = 8;
Math.cbrt(x);
// output = 2;