If you need such behavior, the forEach() method is the wrong tool. Let's rewrite the code from above: const array = [1, 2, 3, 4]; const callback = function( ...
確定! 回上一頁