REST vs. SPREAD
The Rest parameter and Spread Syntax were added in JavaScript ES6 (ECMAScript 6) despite the fact that their symbols are the same they work differently.
NOTE:
Parameters are value passed inside the function definition :
function add(paramter){ }
...
vanshsharma.hashnode.dev2 min read