CS Principles Removing a Cube root

Hi,
I made an mobile app project of finding square of number & find cube of a number ,but how i can find code for cube root of given number.
if anyone has idea pls post it will be great help.
Thanks
Pratima.

function cubicRoot (x) {
  return sign(x) * Math.pow(Math.abs(x), 1 / 3);
}
  
function sign (x) {
  return x / Math.abs(x);
}