Rest and Spread – Things you can do with just 3 dots in Modern JavaScript!

three dots

Before diving into rest and spread; let’s have some background info. What do you think the output for the above code? Yes, you guessed it right. JavaScript will not throw any error when we call a parameter-less function with any number of parameter and it will output ‘no issues‘. As such; the following code is … Read more