map()

in code


Simple recursive array map.

function map(arr, callback) {
    return !arr.length ? [] : [callback(arr[0])].concat(map(arr.slice(1), callback));
}


A Summer of Running

in running

Achill Half Marathon

in running


Your email address will not be published. Required fields are marked *