How Do I differentiate Spread and Rest?

Spread and Rest look literally the same, I will need help differentiating them

1 Like

They are the same underlying thing. They’re called rest parameters when used as function parameters.

It isn’t the same syntax for different things, it’s the same syntax for the same thing, it is just useful to differentiate by name as they’re used in a slightly different context

2 Likes