reduce() in JavaScript, by John Kavanagh

reduce() in JavaScript, by John Kavanagh