Snippets tagged “rest-parameters”
1 snippet uses this tag.
- How to Write a Function that Accepts Any Number of Arguments in JavaScriptJavaScript
Read this JavaScript tutorial and find two easy methods of writing a function that will accept an indefinite number of arguments. See and try examples.