How to Create JavaScript Functions with Variable Arguments | Treehouse Quick Tip

javascriptQuickTips

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!

Free Workshops

Watch one of our expert, full-length teaching videos. Choose from HTML, CSS or WordPress.

Start Learning

Jim Hoskins

Jim Hoskins is an expert teacher at Treehouse. Twitter: @jimrhoskins

Comments

6 comments on “How to Create JavaScript Functions with Variable Arguments | Treehouse Quick Tip