Intermediate JavaScript
2 latihan · dalam urutan pembelajaran
- 1Group words by first letterWrite `groupByInitial(words)` returning an object mapping each lower-case first letter to the array of words starting with it.objects as mapsreducegrouping10m
- 2Split an array into chunksWrite `chunk(items, size)` splitting an array into groups of `size`.sliceloopsargument validation10m