Spread Operator (...args) β¨
& Rest Operator (...args) π§€ in JavaScript π΅
Have you ever seen ... notation in JavaScript and wondered what is this? π€... Well, that is Spread Operator or Rest Operator.
Spread Operator and Rest Operator both looks the same ...args but the differences arises in the application of each of them...
daneshtolani18.hashnode.dev5 min read