simple underscore.js projects, walk through, & tutorial



_.random, _.sortBy, _.shuffle


outputOne feeds into outputTwo, which feeds into outputThree


outputOne = _.map(_.range(0, 101, 1), function(){return _.random(0,9);});

Output:
Nada Yet


outputTwo = _.sortBy(outputOne, function(n){return n;});

Output:
Nada Yet


outputThree = _.shuffle(outputTwo);

Output:
Nada Yet




_.moreUnderscoreProjects

© Copyright 2013 Brett Paufler