math root js code example Example: root of any number javascript let n = 64; let root = 6; Math.pow(n, 1/root); //output 2;