Search posts, tags, users, and pages
Rest parameters are used to create functions that accept any number of arguments. The spread syntax is used to pass an array to functions
Emmanuel Fordjour Kumah
@efkumah · Accra, Ghana
Sharing Programming Knowledge
Documenting my coding journey, sharing thoughts and helping beginner programmers remove the frustration with copy-paste JavaScript code without understanding
Markdown supported · ⌘↵ to post
Dev By RayRay
Great article! It's indeed good that JavaScript newbies learn to use the spread syntax and rest operator 😁
Yep, spread and rest are powerful tools to add to your bag of tricks when mastered.
Dev By RayRay
Great article! It's indeed good that JavaScript newbies learn to use the spread syntax and rest operator 😁