Ad
  • Default User Avatar

    I took a different approach to this. If remixing the code is what we're doing, I just wrote it in a different way.

    But here's mine, it works in the console.

    const expo = (a, b) => {
    let raise = Math.pow(a, b);
    return raise;
    };

    expo(2, 4);