snipplets.dev/code/JavaScript/forEach.js

10 lines
214 B
JavaScript
Raw Normal View History

2023-08-10 13:04:28 +03:00
// arr.forEach(function callback(currentValue, index, array) {
// your iterator
// }[, thisArg]);
Синтаксис
arr.forEach(function callback(currentValue, index, array) {
//your iterator
}[, thisArg]);