Skip to content

Commit 99cb734

Browse files
huyzmbeaudru
authored andcommitted
Corrected typo in arguments (mbeaudru#106)
* Corrected typo in `arguments` * Fix typo on `arguments` * Fix typo on `arguments` * Fix typo on `arguments` * Fix typo on `arguments` * Fix typo on `arguments`
1 parent 0855a0a commit 99cb734

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -819,7 +819,7 @@ const arr2 = [...arr1, "d", "e", "f"]; // ["a", "b", "c", "d", "e", "f"]
819819

820820
##### Function rest parameter
821821

822-
In function parameters, we can use the rest operator to inject parameters into an array we can loop in. There is already an **argument** object bound to every function that is equal to an array of all the parameters passed into the function.
822+
In function parameters, we can use the rest operator to inject parameters into an array we can loop in. There is already an **arguments** object bound to every function that is equal to an array of all the parameters passed into the function.
823823

824824
```js
825825
function myFunc() {

translations/fr-FR.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -823,7 +823,7 @@ const arr2 = [...arr1, "d", "e", "f"]; // ["a", "b", "c", "d", "e", "f"]
823823

824824
##### Paramètre de reste d'une fonction
825825

826-
Dans les paramètres d'une fonction, nous pouvons utiliser l'opérateur de reste pour injecter les paramètres dans un tableau dans lequel nous pouvons faire une bocle. Il existe déjà un objet **argument** lié à chaque fonction, qui est un tableau contenant tous les paramètres passés à la fonction.
826+
Dans les paramètres d'une fonction, nous pouvons utiliser l'opérateur de reste pour injecter les paramètres dans un tableau dans lequel nous pouvons faire une bocle. Il existe déjà un objet **arguments** lié à chaque fonction, qui est un tableau contenant tous les paramètres passés à la fonction.
827827

828828
```js
829829
function myFunc() {

translations/ja-JP.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -859,7 +859,7 @@ const arr2 = [...arr1, "d", "e", "f"]; // ["a", "b", "c", "d", "e", "f"]
859859
##### <a name="function-rest-parameter"></a> 関数のレスト引数
860860

861861
関数の引数において、レスト演算子(訳注: 原文では「 rest operator 」です)を使って引数をまとめて、ループ可能なひとつの配列に入れ込むことができます。
862-
すでに、関数に渡されたすべての引数を格納した配列に等しい **`argument`** オブジェクトが関数にはバインドされています。
862+
すでに、関数に渡されたすべての引数を格納した配列に等しい **`arguments`** オブジェクトが関数にはバインドされています。
863863

864864
```js
865865
function myFunc() {

translations/pl_PL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -820,7 +820,7 @@ const arr2 = [...arr1, "d", "e", "f"]; // ["a", "b", "c", "d", "e", "f"]
820820

821821
##### <a name="function-rest-parameter"></a>Parametry rest
822822

823-
Operator rest pozwala przedstawić dowolna liczbę argumentów w postaci tablicy, po elementach której można iterować. Istnieje już obiekt **argument** związany z każdą funkcją i równy tablicy wszystkich argumentów przekazanych do danej funkcji.
823+
Operator rest pozwala przedstawić dowolna liczbę argumentów w postaci tablicy, po elementach której można iterować. Istnieje już obiekt **arguments** związany z każdą funkcją i równy tablicy wszystkich argumentów przekazanych do danej funkcji.
824824

825825

826826
```js

translations/th-TH.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -812,7 +812,7 @@ const arr2 = [...arr1, "d", "e", "f"]; // ["a", "b", "c", "d", "e", "f"]
812812

813813
##### Rest parameter ของฟังก์ชั่น
814814

815-
ใน parameter ของฟังก์ชั่นเราสามารถใช้ rest operator สำหรับรวม parameters เป็น array ที่เราสามารถนำไปวนลูปได้ ถ้าเทียบก็เหมือนการห่อ **argument** ที่รับมาเป็น object เอาไว้
815+
ใน parameter ของฟังก์ชั่นเราสามารถใช้ rest operator สำหรับรวม parameters เป็น array ที่เราสามารถนำไปวนลูปได้ ถ้าเทียบก็เหมือนการห่อ **arguments** ที่รับมาเป็น object เอาไว้
816816

817817
```js
818818
function myFunc() {

translations/zh-TW.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -838,7 +838,7 @@ const arr2 = [...arr1, "d", "e", "f"]; // ["a", "b", "c", "d", "e", "f"]
838838
<a name="function-rest-parameter-26"></a>
839839
##### 不定參數
840840

841-
在有著不定參數的函數當中,我們可以使用 rest 運算子將參數注入到我們可以進行迴圈操作的 array。這裡已經有一個名為 **argument** 的 object 被綁定在函數上,等同於把 array 中的所有參數都傳遞給函數。
841+
在有著不定參數的函數當中,我們可以使用 rest 運算子將參數注入到我們可以進行迴圈操作的 array。這裡已經有一個名為 **arguments** 的 object 被綁定在函數上,等同於把 array 中的所有參數都傳遞給函數。
842842

843843
```js
844844
function myFunc() {

0 commit comments

Comments
 (0)