rjrowland

Reduce

October 05, 2020

Frequencies

;["hello world"].reduce((letters, letter) => {}, {})

Bucket Sort

;[1, 2, 3, 4].reduce((results, number) => {}, { even: [], odd: [] })

Map + Setting a boolean

;[].reduce((accumulator, current) => {}, { mapped: [], isTrue: false })

Musings by Randal Rowland

A collection of thoughts from a programmer