Spread operator is used to spread the values in an iterable(arrays, objects,strings).
Example:
Rest parameters is a smart way of passing indefinite number of parameters to function i.e. we don’t restrict our function to take finite number of parameters.
Example:-
If this post was helpful, please click the clap 👏 button below a few times to show your support! ⬇⬇
We developers deal with containers in our day to day life but when we need explain this term to someone in very simplistic language can be a daunting task. With this article I will try to provide a simplistic definition of a container.
It all starts with the OS i.e…