Spread Syntax

The ... syntax that expands values from an iterable or properties from an object.

What is Spread Syntax in JavaScript?

Spread Syntax — The ... syntax that expands values from an iterable or properties from an object.

const original = ["Plan", "Build"];
const copy = [...original];

Level: Apprentice · More JavaScript terms at this level

Updated