[ Web Proxy ]
URL:
Viewing: https://developer.mozilla.org/ru/docs/Web/JavaScript/Reference/Functions/arguments/length [Back]  [Original]

arguments.length - JavaScript | MDN

This page was translated from English by the community. Learn more and join the MDN Web Docs community.

View in English Always switch to English

arguments.length

Baseline Widely available

This feature is well established and works across many devices and browser versions. Its been available across browsers since 2015 ..

arguments.length , .

In this article

arguments.length

arguments.length . count (. Function.length).

arguments.length

, 2 .

js
function adder(base /*, n2, ... */) {
  base = Number(base);
  for (var i = 1; i < arguments.length; i++) {
    base += Number(arguments[i]);
  }
  return base;
}

Specification
ECMAScript 2027 LanguageSpecification
# sec-arguments-exotic-objects


Web Proxy Viewer  |  New URL  |  Original Page