-
-
Notifications
You must be signed in to change notification settings - Fork 3
flbeta_function_each
Wesley de Groot edited this page Nov 5, 2017
·
35 revisions
_
(_)
_ _____
| | / ____|
| | | (___
_ | | \___ \
______ _ | |__| | ____) |
|______| (_) \____/ |______/
v0.1.0 Beta
Walk trough array and peform callback
This function is for the Command Line Interface and Websites!
Type | @var | Description | Required |
object | [object] | Wrapper | Optional |
array | myArr | Array to walk trough | Required |
function | callbackInt | Callback function to call | Required |
_.each(['a', 'b', 'c'], function (i, v) { window.alert('count ' + i + ', value: ' + v); })
_.each({a:'b', c:'d'}, function (i, v) { window.alert('key ' + i + ', value: ' + v); })
array
[Back to function list](https://github.com/wdg/_.js/wiki/Function%20List%20(Beta))
© Wesley de Groot • CC-BY 4.0 • WDGWV