Understanding Rest Parameters and Spread Operator in Javascript
Introduction
Have you ever wondered how the built-in functions like Math.max(arg1, arg2, ..., argN) support an arbitrary number of arguments but still manage to give accurate output? In this blog, we will try to understand the mastermind behind them ...
blog.henzzo.com6 min read
James 'Dante' Midzi
Solutiions Architect | Writer | Polyglot
Thank you so much for this explanation!
During a boot camp we got to this concept and I couldn't get where the difference was...
You've made it so much clearer