Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

README.md

JavaScript Callback Loops

Loop and Iterate through Arrays and Dictionaries in JavaScript.

ForEach.js

Use the ForEach function to loop through arrays.

Usage
var array = [...];
ForEach(array, function(index, value) {
  console.log('The value: ' + value + ' is at index: ' + index);
});

Iterate.js

Use the Iterate function to iterate through dictionaries.

Usage
var dict = {...};
Iterate(dict, function(key, value) {
  console.log('The value: ' + value + ' is at key: ' + key);
});

About

Easily loop through Arrays and Dictionaries in JacaScript with a return value

Topics

Resources

License

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.