Skip to content

Alternative syntax to access javascript function arguments

prints Is there a way to access the actual arguments in that case? Answer I would advise against overriding the built-in arguments variable within a function definition. You could spread the expected arguments instead using …vargs. Please take a look at the arguments object over at MDN for more info. Th…