no cube root in javascript?

    Javascriptbugs/issues

    pseudostereo
    Aug 28 2023 | 4:40 am
    The Javascript Math object includes the static method Math.cbrt(), to calculate the cube root. However, when I try to run a js object that uses this method, I get this error: js: test.js: Javascript TypeError: Math.cbrt is not a function, line 8
    I'm not getting the error with any other Math methods.
    ???

    • tyler mazaika's icon
      tyler mazaika
      Aug 28 2023 | 3:25 pm
      max uses JavaScript ES5 (~2009).
      Share
    • pseudostereo's icon
      pseudostereo's icon
      pseudostereo
      Aug 28 2023 | 6:50 pm
      Got it. Too bad, but thanks.