Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
var iterator = function(callback){
var list = [0, 1, 2];
for(var i = 0; i < list.length; i++){
var value = list[i];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment