Answer would be Option 4 because the above code snippet will throw an error Uncaught SyntaxError: Rest parameter must be last formal parameter i.e. Rest parameter should always be the last parameter in function definition as it combines all the remaining arguments into an array.

For useful and amazing frontend and programming tutorials: https://bit.ly/devtools-yt