The spread operator [0, ...a, 5, 6] where a = [1, 2, 3, 4] allows you to spread the contents of a to spread the contents of a to form the new array [0, 1, 2, 3, 4, 5, 6]. You can find out more about it here. This post will have several examples. Here’s another cool website to see other EcmaScript 6 features.