(...Rest ) & ...Spread in Javascript
Rest and Spread operators introduced in Es6. both have the same syntax ... rest operator and spread operator are prefixed with three dots (...) Let's first take a look at the rest parameter(...) Rest(...) 🫴 The rest parameter syntax allows a functi...
Sep 14, 20224 min read54
