The ... syntax for expanding and collecting values.
- Category: JS Extras — part of the JavaScript Tutorial on GoCareerGo
- Read the short summary above, then check the linked docs for full syntax/behaviour
- Interview tip: be ready to explain "Spread and Rest Operators" in one sentence, then back it up with a tiny example
// Spread and Rest Operators — minimal example
console.log("Spread and Rest Operators");Tip
Quick recall: "Spread and Rest Operators" — the ... syntax for expanding and collecting values.