Transcript
00:00 Alright. Let's talk about rest parameters. So, sometimes you have a function that can accept any number of arguments. So with, like, a sum function, you have a and b. Those are two numbers.
00:11 You can say a plus b. But what if I wanted to, like, allow users to pass any number of a, b, c, d, e, f, g? I would have to make a function that potentially accepts a thousand parameters. That would be crazy. Right?
00:24 So there's actually a syntactical solution to this called rest parameters. And that's what we're gonna learn about in this exercise. So I want you to jump in there, make your rest parameters functions. And when you're done, you can come with me to the solution. We'll work through it together.
00:38 Have a good time.
