forEach | JS

This commit is contained in:
Alexander Popov 2023-08-10 13:04:28 +03:00
parent 0b0c69b261
commit a73b1b41d5

View File

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