Ad
  • Custom User Avatar

    Hi, you can wrap your code by using the markdown syntax which will make your code more readable.

  • 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);