From 844f5103992238c0c23203286dad16a466e89c97 Mon Sep 17 00:00:00 2001 From: julieng Date: Tue, 3 Aug 2021 08:03:09 +0200 Subject: move *.html to *.md --- .../functions/arguments/@@iterator/index.html | 78 ---------------------- 1 file changed, 78 deletions(-) delete mode 100644 files/fr/web/javascript/reference/functions/arguments/@@iterator/index.html (limited to 'files/fr/web/javascript/reference/functions/arguments/@@iterator/index.html') diff --git a/files/fr/web/javascript/reference/functions/arguments/@@iterator/index.html b/files/fr/web/javascript/reference/functions/arguments/@@iterator/index.html deleted file mode 100644 index 406eb7bcdc..0000000000 --- a/files/fr/web/javascript/reference/functions/arguments/@@iterator/index.html +++ /dev/null @@ -1,78 +0,0 @@ ---- -title: arguments[@@iterator]() -slug: Web/JavaScript/Reference/Functions/arguments/@@iterator -tags: - - Déprécié - - Fonctions - - JavaScript - - Propriété - - Reference - - arguments -translation_of: Web/JavaScript/Reference/Functions/arguments/@@iterator -original_slug: Web/JavaScript/Reference/Fonctions/arguments/@@iterator ---- -
{{jsSidebar("Functions")}}
- -

La valeur initiale de la propriété @@iterator est le même objet que la fonction utilisée pour la valeur initiale de la propriété {{jsxref("Array.prototype.values")}}.

- -

Syntaxe

- -
arguments[Symbol.iterator]()
- -

Exemples

- -

Utiliser une boucle for...of

- -
function f() {
-  // votre environnement doit supporter les
-  // boucles for..of et les variables
-  // définies avec let dans les boucles
-  for (let letter of arguments) {
-    console.log(letter);
-  }
-}
-f('w', 'y', 'k', 'o', 'p');
-
- -

Spécifications

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
SpécificationStatutCommentaires
{{SpecName('ES6', '#sec-createunmappedargumentsobject', ' CreateUnmappedArgumentsObject')}}{{Spec2('ES6')}}Définition initiale.
{{SpecName('ES6', '#sec-createmappedargumentsobject', ' CreateMappedArgumentsObject')}}{{Spec2('ES6')}}Définition initiale.
{{SpecName('ESDraft', '#sec-createunmappedargumentsobject', 'CreateUnmappedArgumentsObject')}}{{Spec2('ESDraft')}} 
{{SpecName('ESDraft', '#sec-createmappedargumentsobject', 'CreateMappedArgumentsObject')}}{{Spec2('ESDraft')}} 
- -

Compatibilité des navigateurs

- - -

{{Compat("javascript.functions.arguments.@@iterator")}}

- -

Voir aussi

- - -- cgit v1.2.3-54-g00ecf