khoa-pham-async-await

const luyThua = function (x, a) {
  return x ** a; // x^a
};

console.log(luyThua(2, 3)); // 8 = 2*2*2 = 2^3