What is Spread Operator in JavaScript?
Spread operator allow you to quickly copy an existing array or object into another array or object. The spread operator is denoted by (...) three dots.
Simply it allows an expression to be expanded.
Syntax :
var array2 = [ ...array1 ];
In the above ...
balashankargujja.hashnode.dev3 min read