What Are Three Dots (…) In JavaScript?
In this short post, I will be explaining one way to use the ... notation.
If you want to spread out an array into another array, you can use three dots (...).
This is a bit easier to understand with an example.
JavaScript Code
let arr1 = ["a1", "a2"...
javasper.hashnode.dev1 min read