math.cube root javascript code example Example: cubic root javascript let x = 8; Math.cbrt(x); // output = 2;