Variadic

A variadic function is a function that accepts a variable number of arguments.

For example, JavaScript’s console.log method is variadic:

Javascript
console.log('one')
console.log('one', 'two')
console.log('one', 'two', 'three')
console.log('It', 'works', 'regardless', 'of', 'how', 'many', 'arguments', 'you', 'pass')