The Question : 559 people think this question is useful Is there a way to allow “unlimited” vars for a function in JavaScript? Example: The Question Comments : possible duplicate of Is it possible to send a variable number of arguments to a JavaScript function? related / possible duplicate of stackoverflow.com/questions/4633125/… @Luke no, it’s not.