Treehouse Quick Tips
How to Create JavaScript Functions with Variable Arguments

How to Create JavaScript Functions with Variable Arguments

Treehouse Quick Tips

5:25

About this episode

When creating JavaScript functions, we give names to each one of the arguments that our function takes. But what if you want a function to take more than one argument? Learn more about variable arguments in JavaScript with Jim, resident Treehouse JavaScript expert, in this Treehouse Quick Tip!

More from Treehouse Quick Tips

The real value of events you attend is in the people you meet and connections you make. In this Treehouse Quick Tip, author and blogger C.C. Chapman shares his strategies for successful networking and…

1m

Found a photograph online that you'd like to use on your site, but not sure where it came from or who took it? Or are you a photographer who wants to know where your work is being posted? In this Tree…

3m

Git Stashing

In version control, best practice is to commit your work in discrete chunks. Unfortunately, sometimes that's easier said than done when real life gets in the way. In this Treehouse Quick Tip, we'll le…

4m

Many of you are already looking for the next opportunity to work on a freelance project or to get hired by a company. In this Treehouse Quick Tip, Dan Gorgone explains the importance of preparing deta…

3m

It's tough to find a site on the web today that doesn't include Facebook, Twitter, and other social media logos in its design. You probably want to include them on your own site, but where do you find…

2m