Es6 Spread operator

A spread operator allows an expressions to be expanded.

It allows the elements of an array to be expanded, so you do not have to loop over all the array elements in the function. In this post, we will see few practical use cases for the spread operator.

An array to be expanded as multiple arguments to the function




Leave a Reply

Your email address will not be published. Required fields are marked *