The Math pow() static method returns the value of a base raised to a power.

    
    console.log(Math.pow(7, 3));
    // 343

    console.log(Math.pow(4, 0.5));
    // 2

    console.log(Math.pow(7, -2));
    // 0.02040816326530612
    // (1/49)

    console.log(Math.pow(-7, 0.5));
    // NaN