forEach | JS
This commit is contained in:
parent
0b0c69b261
commit
a73b1b41d5
9
snipplets/code/JavaScript/forEach.js
Normal file
9
snipplets/code/JavaScript/forEach.js
Normal 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]);
|
Loading…
Reference in New Issue
Block a user