{"json_modified": "2015-09-23T07:43:08.574719", "slug": "Web/JavaScript/Referencia/Objectes_globals/Set/entries", "tags": [], "locale": "ca", "title": "Set.prototype.entries()", "translations": [{"title": "Set.prototype.entries()", "url": "/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set/entries", "tags": ["Experimental", "prototype", "JavaScript", "ECMAScript6", "set", "Iterator", "Method"], "summary": "The entries()
method returns a new Iterator
object that contains an array of [value, value]
for each element in the Set
object, in insertion order. For Set
objects there is no key
like in Map
objects. However, to keep the API similar to the Map
object, each entry has the same value for its key and value here, so that an array [value, value]
is returned.", "localization_tags": [], "locale": "en-US", "last_edit": "2015-07-11T05:09:03", "review_tags": []}, {"title": "Set.prototype.entries()", "url": "/fr/docs/Web/JavaScript/Reference/Objets_globaux/Set/entries", "tags": ["Prototype", "Reference", "Experimental", "R\u00e9f\u00e9rence", "prototype", "Exp\u00e9rimental", "JavaScript", "ECMAScript6", "set", "Iterator", "Method"], "summary": "La m\u00e9thode entries()
renvoie un nouvel objet Iterator
qui contient un tableau compos\u00e9 de [valeur, valeur]
pour chaque \u00e9l\u00e9ment de l'objet Set
, dans leur ordre d'insertion. En raison de leur structure, les objets Set
n'ont pas de cl\u00e9 (key
), \u00e0 la diff\u00e9rence des objets Map
. Pour garder une structure et une API sembables \u00e0 celle d'un objet Map
, chaque entr\u00e9e (entry) aura la m\u00eame valeur pour la cl\u00e9 (key) et pour la valeur (value), c'est pourquoi un tableau de [valeur, valeur]
est renvoy\u00e9.", "localization_tags": [], "locale": "fr", "last_edit": "2015-08-22T04:50:38", "review_tags": []}, {"title": "Set.prototype.entries()", "url": "/ja/docs/Web/JavaScript/Reference/Global_Objects/Set/entries", "tags": ["Experimental", "prototype", "Exp\u00e9rimental", "JavaScript", "ECMAScript6", "set", "Iterator", "Method"], "summary": "Set
\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u5404\u8981\u7d20\u306b\u633f\u5165\u9806\u306b[value, value]
\u306e\u914d\u5217\u3092\u542b\u3080\u65b0\u3057\u3044Iterator
\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u8fd4\u3057\u307e\u3059\u3002Set
\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306b\u5bfe\u3057\u3066\u3001Map
\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u3088\u3046\u306akey
\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u3057\u304b\u3057\u306a\u304c\u3089\u3001Map
\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3068\u4f3c\u305fAPI\u3092\u3082\u3064\u305f\u3081\u306b\u3001\u5404entry\u306fkey\u3068value\u306b\u5bfe\u3057\u3066\u540c\u3058\u5024\u3092\u6301\u3061\u307e\u3059\u3002\u305d\u306e\u305f\u3081\u3001\u914d\u5217[value, value]
\u304c\u8fd4\u3055\u308c\u307e\u3059\u3002", "localization_tags": ["inprogress"], "locale": "ja", "last_edit": "2015-06-21T10:16:14", "review_tags": ["editorial"]}], "modified": "2015-09-23T07:43:07", "label": "Set.prototype.entries()", "localization_tags": [], "url": "/ca/docs/Web/JavaScript/Referencia/Objectes_globals/Set/entries", "last_edit": "2015-09-23T07:43:03", "summary": "El m\u00e8tode entries()
retorna un nou objecte Iterator
que cont\u00e9 un array de [valor, valor]
per a cada element emmagatzemat dins l'objecte Set
, ordenats per ordre d'inserci\u00f3. Els elements de l'objecte Set
no disposen de claus, a difer\u00e8ncia dels objectes Map
. Tot i aix\u00ed, per a oferir una API similar a la de l'objecte Map
cada entrada t\u00e9 el mateix valor tant com per a la clau com per al valor. \u00c9s per aix\u00f2 que es retorna un array [valor, valor]
.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Sintaxi", "title": "Sintaxi"}, {"id": "Examples", "title": "Examples"}, {"id": "Using_entries()", "title": "Using "}, {"id": "Especificacions", "title": "Especificacions"}, {"id": "Compatibilitat_amb_navegadors", "title": "Compatibilitat amb navegadors"}, {"id": "Vegeu_tamb\u00e9", "title": "Vegeu tamb\u00e9"}], "id": 162127, "review_tags": []}