To return a value in forEach() method, we can use a variable in the loop and once the loop is finished, we can set the values to that variable. const arr = [1,2 ...
確定! 回上一頁