Click here to Skip to main content
15,912,837 members
Articles / All Topics

Variadic Functions In JavaScript

Rate me:
Please Sign up or sign in to vote.
3.33/5 (2 votes)
2 Oct 2015CPOL2 min read 17.3K   1  
A variadic function is a function where the total number of parameters are unknown and can be adjusted at the time the method is called.The C programming language, along with many others, have an interesting little feature called an ellipsis argument.

This article may contain live JavaScript that has been reviewed and tested for security. If you wish to submit articles containing JavaScript please email your submissions to submit@codeproject.com.

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior)
United States United States
If you liked my post visit my website at http://ericanderson.io

I'm a software engineer, gamer and musician who loves all things .NET.
When I'm not spending time with my family I love learning new things about programming, talking about tech and teaching people how to code.

Currently I'm working with C#, ASP.NET, Angular.js and Node.js.

If you have any questions or concerns, please don't hesitate to reach our to me!

Need a developer to help turn your vision into reality?

I'm available for freelance work!
Send all inquiries to: freelance@ericanderson.io

Comments and Discussions