1.0.0 • Published 4 years ago

@schlandower/objectforeach v1.0.0

Weekly downloads
-
License
GPL-3.0
Repository
gitlab
Last release
4 years ago

objectforeach

foreach that works with object instead of arrays. Example: require ('objectforeach'); var myobj = {"one": "first", "two": "second", "third": "three"}; myobj.for each((value, key) => { console.log('Key: ' + key + 'Value: ' + value) });

1.0.0

4 years ago