snipplets.dev/code/JavaScript/forEach.js
2023-09-26 22:05:13 +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]);