rsk82 rsk82 - 1 year ago 75
Javascript Question

is it possible to get all arguments of a function as single object inside that function?

Like in PHP there are


Answer Source

Use arguments. You can access it like an array. Use arguments.length for the number of arguments.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download