smallcase Interview Question

Why to use `key` when returning UI elements by looping over an array?