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