Ad Hoc (DC) interview question

Fetch - write Javascript to request data from a provided API and process it in various ways.