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