function times(x){ return function(y) { return(x*y); } } //the value you pass in for x will always be trapped in the closure function. // terminology // Partial appliction // Hackell Curry // Currying // functor var blah = times(x); blah(10); times(4)(7); _.map([1,2,3], times) _.map(_.map([1,2,3], times), function(func, index){return func(index)}) //----------------------------------------------------------------------- Masonry.js Isotope.js maplace.js //---------------------------------------------------------------------- Yoemon - generator ecosystem Two guys behind it are Google 1) initial app scoffolding 2) subjectors - subgenerator 1100 generators in the ecosystem Jake made dyno generator //https://github.com/jhendley25/generator-dyno generator angular - uses subgenerators - https://github.com/yeoman/generator-angular // usually you install generators globally yo angular:controller greenvilleJs - subcontroller yo generator - allows you to create your own generator