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