This feature is well established and works across many devices and browser versions. It’s been available across browsers since September 2016. Learn more See full compatibility Report feedback The rest parameter syntax allows a function to accept an indefinite number of arguments as an array, providing a way to represent variadic functions in JavaScript.
