Merge branch 'master' of git.a2s.su:iiiypuk/snipplets.dev
This commit is contained in:
commit
c6d5754bb5
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