MaheshmuttheRest and Spread in JavaScriptRest — When used in function arguments of a function declaration/expression it will convert the remaining arguments into an array. This…Mar 9, 2022Mar 9, 2022