Examness

Intermediate JavaScript

2件の課題 · 学習順

  1. 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
  2. 2Split an array into chunksWrite `chunk(items, size)` splitting an array into groups of `size`.sliceloopsargument validation10m