ES6: How to distinguish between spread & rest operators?
This tip is for those learners who already know what spread & rest operators are but sometimes are unclear when one is being used.
When we see "..." in the code, it is either rest parameters or the spread operator.
There’s an easy way to distinguish...
blog.junaidahmed.dev1 min read