JavaScript Demo: Array.forEach(). xxxxxxxxxx. 1. const array1 = ['a', 'b', 'c'];. 2. . 3. array1.forEach(element => console.log(element));.
確定! 回上一頁