root dari angka apa pun JavaScript
let n = 64;
let root = 6;
Math.pow(n, 1/root);
// output 2;
Evil Elephant
let n = 64;
let root = 6;
Math.pow(n, 1/root);
// output 2;
let n = 64;
let root = 5;
Math.pow(n, 1/root);
// output 2;