snipplets.dev/snipplets/code/JavaScript/forEach.js
2023-08-10 13:04:28 +03:00

10 lines
214 B
JavaScript

// arr.forEach(function callback(currentValue, index, array) {
// your iterator
// }[, thisArg]);
Синтаксис
arr.forEach(function callback(currentValue, index, array) {
//your iterator
}[, thisArg]);