Show navigation Before discussing object rest and spread properties, let’s take a trip down memory lane and remind ourselves of a very similar feature. ES2015 array rest and spread elements #Good ol’ ECMAScript 2015 introduced rest elements for array destructuring assignment and spread elements for array literals. // Rest elements for array destructuring assignment: const primes = [2, 3, 5, 7, 11]