Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

19 lines (16 sloc) 0.254 kB
exports.map = (o, fn) {
ret = []
for key, val in o
ret.push fn(val, key)
ret
}
exports.detect = (o, fn) {
for key, val in o {
if fn(val, key)
return val
}
}
exports.times = (n, fn) {
for var i=0; i < n; i++
fn.call @, i
}
Jump to Line
Something went wrong with that request. Please try again.