Learn JavaScript Spread Operator in 1 minute

Written by Maxime
Updated on June 26, 2022
1 min read
javascript spread operator

🤯 Spread Operator was introduced in ES6

😎 You can use it with an iterable array or object

💥 It allows expanding an array into its components

🚀 It helps in the concatenation of an array or object properties

😱 It is different from rest parameter

Spread Syntax:

Three dots (...)

Example (Array):

  • Combine or concatenate two arrays into new array

Example (Object):

  • Combine or concatenate two objects into new object

Share with others:

Project Based Tutorials
Tips & Tricks
Modern Technologies
Real-World Challenges
Creative Content
Build-Apps from Scratch
Web Development Content
17+ Videos Published
Coder Champ © 2023 - 
Privacy Policy
linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram