{"json_modified": "2016-06-15T13:02:46.848261", "uuid": "6d240dbe-d0e8-4392-b99c-afcea2ceac6a", "title": "Set.prototype.entries()", "url": "/pt-BR/docs/Web/JavaScript/Reference/Global_Objects/Set/entries", "tags": [], "translations": [{"uuid": "f50c62e7-9a53-4ab5-865a-929242da9850", "title": "Set.prototype.entries()", "url": "/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set/entries", "tags": ["prototype", "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": "2016-01-04T05:59:10", "review_tags": []}, {"uuid": "2174d6b0-51d6-42cd-bad0-ef5bd7858011", "title": "Set.prototype.entries()", "url": "/fr/docs/Web/JavaScript/Reference/Objets_globaux/Set/entries", "tags": ["prototype", "R\u00e9f\u00e9rence", "Prototype", "JavaScript", "ECMAScript6", "set", "Iterator", "M\u00e9thode"], "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": "2016-01-05T11:50:57", "review_tags": []}, {"uuid": "9e346b8b-6769-46f9-ac09-9fbf385dee6f", "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"]}, {"uuid": "34d91ec0-a949-4fb9-8edb-eb6652b3d8a0", "title": "Set.prototype.entries()", "url": "/ca/docs/Web/JavaScript/Referencia/Objectes_globals/Set/entries", "tags": [], "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]
.", "localization_tags": [], "locale": "ca", "last_edit": "2015-09-23T07:43:03", "review_tags": []}], "modified": "2016-06-15T13:02:46", "label": "Set.prototype.entries()", "localization_tags": ["inprogress"], "locale": "pt-BR", "id": 186772, "last_edit": "2016-06-15T13:02:41", "summary": "O m\u00e9todo entries()
\u00a0retorna um novo objeto Iterador (Iterator
) que cont\u00e9m um array de [valor, valor] para cada elemento de um objeto Set
em ordem de inser\u00e7\u00e3o. Os objetos Set
n\u00e3o possuem\u00a0chaves (key)\u00a0
como objetos do tipo Map
. Entretanto, para manter a API similar a objetos Map
, cada entrada (entry) tem o mesmo valor para sua chave (key
) e valor (value
), ent\u00e3o uma matriz array [valor, valor]
\u00e9 retornado.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Sintaxe", "title": "Sintaxe"}, {"id": "Exemplos", "title": "Exemplos"}, {"id": "Usando_entries()", "title": "Usando\u00a0"}, {"id": "Especifica\u00e7\u00f5es", "title": "Especifica\u00e7\u00f5es"}, {"id": "Compatibilidade_de_navegadores_(Browser)", "title": "Compatibilidade de navegadores (Browser)"}, {"id": "Veja_tamb\u00e9m", "title": "Veja tamb\u00e9m"}], "slug": "Web/JavaScript/Reference/Global_Objects/Set/entries", "review_tags": []}