const take = (arr, n = 1) => arr.slice(0, n);