blob: 37a136e443903a29ea5878e6950d89431bdcae07 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
---
title: Function.arity
slug: Web/JavaScript/Referencje/Obiekty/Function/arity
tags:
- Function
- JavaScript
- Obsolete
- Property
- Unimplemented
- przestarzały
translation_of: Archive/Web/JavaScript/Function.arity
---
<p>{{JSRef}}{{ obsolete_header() }}</p>
<h2 id="Podsumowanie" name="Podsumowanie">Podsumowanie</h2>
<p>Własność <code>arity</code> jest zewnętrzna dla funkcji i wskazuje, ile argumentów oczekuje funkcja. Ta właśność jest przestarzała, proszę używać {{jsxref("Function.prototype.length")}}, która dostarcza liczbę argumentów wymaganych przez deklarację funkcji.</p>
<h2 id="Zobacz_tak.C5.BCe" name="Zobacz_tak.C5.BCe">Zobacz także</h2>
<ul>
<li>{{jsxref("Function.prototype.length")}}</li>
</ul>
|