3 ms·
The enumerables prototype took from ruby were really nice. I always liked being able to do things foo.map(function(p) { return p.length; }); jQuery's $.map fe
by mnutt 15y ago
The enumerables prototype took from ruby were really nice. I always liked being able to do things foo.map(function(p) { return p.length; }); jQuery's $.map felt clunky in comparison.
(this is all with the understanding that prototype adding methods to standard objects was dangerous...)