Two ways of thinking · Iterative thinking: the for loop: function pow(x, n) { let result = 1; // multiply result by x n times in the loop for ( ...
確定! 回上一頁