+ 8
What is spread operator(...) and what it's actual use?
Can it be useful 🤔
2 Réponses
+ 6
Spread operator allows an iterable to expand in places where 0+ arguments are expected. It is mostly used in variable array where there is more than 1 values are expected.It allows us the privilege to obtain a list of parameters from an array.
+ 6
think you have grains of nuts( number) in your hand(Array) and if you want it to put in your plate(another array) you just spread it in your plate with spread operator (...)