Destructuring lets you unpack values from arrays or objects into named variables.
Challenge: Write destructureArray() that:
destructureArray()
[1, 2, 3, 4, 5]
a
b
rest
{ a, b, rest }