When [...array] is written, the contents of array are spread and placed inside [].