Comment Comment by v413 This is not efficient. Each iteration creates a new array instance due to the spread operator. parent v413 4 years ago