10 lines
214 B
JavaScript
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]);
|