Concepts

arguments object

Try the free JavaScript compiler

Array-like argument-list object normally available inside ordinary functions. Strict and non-simple parameter lists do not map indexed arguments to parameter bindings. Arrows lack an own arguments binding.

Formal Syntax & Structure

javascript syntaxjavascript
arguments

Working Example

Example Snippetjavascript
function f(a){return arguments.length;}console.log(f(1,2));
JavaScript Reference