+ 1
What is the difference between "spread" and "rest" syntax of JavaScript?
The spread and rest seems similar but their operations can be very different. Could you please give some real world examples with respect to dealing various scenarios of website with their use?
3 Respuestas
+ 3
spread distributes, rest collects
+ 2
Bob_Li , can you provide a real world use case scenarioz of these two type syntax?