Spread Syntax

Term side of the Card
Topic: Syntax
Unit title: Spread Syntax
Categories: Syntax, Operator
Explanation side of the Card

Explanation: The operator, denoted by three dots (`...`), that is used to expand or spread elements from an array or object into individual elements. It's often used for copying arrays or objects, combining them or passing multiple arguments to functions.

Browser compatibility:
  • The chrome browser supports this feature starting from version 60
  • The edge browser supports this feature starting from version 79
  • The firefox browser supports this feature starting from version 55
  • The safari browser supports this feature starting from version 11.1
Availability: