Merge branch 'master' of git.a2s.su:iiiypuk/snipplets.dev
This commit is contained in:
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]);
|
Reference in New Issue
Block a user