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! ⬇⬇