How to destructure arrays and objects in JavaScript - part 1