{"json_modified": "2019-01-16T20:28:37.830285", "uuid": "5613a1ea-3181-4528-8959-d5d0a6a5ec03", "title": "Set", "url": "/id/docs/Web/JavaScript/Reference/Global_Objects/Set", "tags": [], "translations": [{"uuid": "a6003ea9-1a6e-4cb0-9067-10ff69d51e9a", "title": "Set", "url": "/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set", "tags": ["set", "ECMAScript 2015", "JavaScript", "Global Objects", "Object"], "summary": "The <strong><code>Set</code></strong> object lets you store unique values of any type, whether <a href=\"/en-US/docs/Glossary/Primitive\" class=\"glossaryLink\" title=\"primitive values: A primitive (primitive value, primitive data type) is data that is not an object and has no methods. In JavaScript, there are 6 primitive data types: string, number, boolean, null, undefined, symbol (new in ECMAScript 2015).\">primitive values</a> or object references.", "localization_tags": [], "locale": "en-US", "last_edit": "2018-12-13T04:43:24.408785", "review_tags": []}, {"uuid": "11ba291f-bcbf-4029-83f4-5eb285d6b512", "title": "Set", "url": "/ca/docs/Web/JavaScript/Referencia/Objectes_globals/Set", "tags": [], "summary": "L'objecte <strong><code>Set</code></strong> permet emmagatzemar valors <em>\u00fanics </em>de qualsevol tipus, ja siguin <a href=\"/en-US/docs/Glossary/Primitive\" class=\"glossaryLink\" title=\"valors primitius: A primitive (primitive value, primitive data type) is data that is not an object and has no methods. In JavaScript, there are 6 primitive data types: string, number, boolean, null, undefined, symbol (new in ECMAScript 2015).\">valors primitius</a> o b\u00e9 refer\u00e8ncies a objectes.", "localization_tags": ["inprogress"], "locale": "ca", "last_edit": "2018-05-05T10:15:28.755422", "review_tags": []}, {"uuid": "4d1d97a9-19d6-42e1-8417-b6f244d29820", "title": "Set", "url": "/de/docs/Web/JavaScript/Reference/Global_Objects/Set", "tags": [], "summary": "Ein <strong><code>Set</code></strong>-Objekt speichert <em>eindeutige</em>\u00a0Werte jedes beliebigen Typs, egal ob es sich dabei um\u00a0<a href=\"/de/docs/Glossary/einfache_datenelemente\" class=\"glossaryLink\" title=\"primitive Werte: Ein primitives (skalares) Datenelement (einfacher Wert, einfacher Datentyp) ist ein Datenelement, das\u00a0kein Objekt ist und keine Methoden besitzt.\">primitive Werte</a> oder Objektreferenzen handelt.", "localization_tags": ["inprogress"], "locale": "de", "last_edit": "2018-12-02T11:59:17.974117", "review_tags": ["editorial"]}, {"uuid": "8622dfc4-0fe4-49af-b372-f9b2fccd9566", "title": "Set", "url": "/el/docs/Web/JavaScript/Reference/Global_Objects/Set", "tags": [], "summary": "\u0397 \u03b4\u03bf\u03bc\u03ae\u00a0<strong><code>Set</code></strong>\u00a0\u03b5\u03c0\u03b9\u03c4\u03c1\u03ad\u03c0\u03b5\u03b9 \u03c4\u03b7\u03bd \u03b1\u03c0\u03bf\u03b8\u03ae\u03ba\u03b5\u03c5\u03c3\u03b7 \u03bc\u03bf\u03bd\u03b1\u03b4\u03b9\u03ba\u03ce\u03bd \u03c4\u03b9\u03bc\u03ce\u03bd \u03bf\u03c0\u03bf\u03b9\u03bf\u03c5\u03b4\u03ae\u03c0\u03bf\u03c4\u03b5 \u03c4\u03cd\u03c0\u03bf\u03c5, \u03b5\u03af\u03c4\u03b5\u00a0\u03c4\u03b9\u03bc\u03ce\u03bd \u03c4\u03cd\u03c0\u03bf\u03c5 <a href=\"/en-US/docs/Glossary/Primitive\" class=\"glossaryLink\" title=\"primitive values: A primitive (primitive value, primitive data type) is data that is not an object and has no methods. In JavaScript, there are 6 primitive data types: string, number, boolean, null, undefined, symbol (new in ECMAScript 2015).\">primitive values</a> \u03b5\u03af\u03c4\u03b5 \u03b1\u03bd\u03b1\u03c6\u03bf\u03c1\u03ce\u03bd \u03c3\u03b5 \u03b1\u03bd\u03c4\u03b9\u03ba\u03b5\u03af\u03bc\u03b5\u03bd\u03b1.", "localization_tags": ["inprogress"], "locale": "el", "last_edit": "2017-10-12T07:32:12.483354", "review_tags": []}, {"uuid": "a20bb495-5e2b-457c-8db8-baa45b200a08", "title": "Set", "url": "/es/docs/Web/JavaScript/Referencia/Objetos_globales/Set", "tags": ["set", "JavaScript", "global", "ECMAScript 2015", "Object"], "summary": "El objeto\u00a0<strong><code>Set</code></strong>\u00a0te permite almacenar valores \u00fanicos de cualquier tipo, incluso <a href=\"/es/docs/Glossary/Primitivo\" class=\"glossaryLink\" title=\"valores primitivos: Un primitivo\u00a0(valor primitivo, tipo de datos primitivo) es un dato que no es un\u00a0objeto y no tiene\u00a0m\u00e9todos. En JavaScript hay 6 tipos de datos primitivos: string , number , boolean , null , undefined , symbol (nuevo en ECMAScript 2015).\">valores primitivos</a> u\u00a0objetos de referencia.", "localization_tags": ["inprogress"], "locale": "es", "last_edit": "2018-11-29T02:24:34.754291", "review_tags": []}, {"uuid": "d7dd7026-74d5-4d73-bbd7-ad47a649271d", "title": "\u0645\u062c\u0645\u0648\u0639\u0647 | Set", "url": "/fa/docs/Web/JavaScript/Reference/Global_Objects/Set", "tags": ["\u0645\u062c\u0645\u0648\u0639\u0647", "\u062c\u0627\u0648\u0627\u0627\u0633\u06a9\u0631\u06cc\u067e\u062a"], "summary": "", "localization_tags": [], "locale": "fa", "last_edit": "2016-11-02T01:58:33", "review_tags": []}, {"uuid": "ae276dad-f86b-41fc-b42b-03fc658fbb76", "title": "Set", "url": "/fr/docs/Web/JavaScript/Reference/Objets_globaux/Set", "tags": ["set", "ECMAScript 2015", "JavaScript", "Reference"], "summary": "L'objet <strong><code>Set</code></strong> (Ensemble en fran\u00e7ais) permet de stocker des valeurs <em>uniques</em>, de n'importe quel type, que ce soit des valeurs d'un <a href=\"/fr/docs/Glossaire/Primitive\" class=\"glossaryLink\" title=\"type primitif\u00a0: Une primitive (valeur primitive ou structure de donn\u00e9e primitive) est une donn\u00e9e qui n'est pas un objet et n'a pas de m\u00e9thode. En JavaScript, il y a 6 types de donn\u00e9es primitives: String, Number, Boolean, Null, undefined, Symbol (nouveaut\u00e9 d'ECMAScript 2015).\">type primitif</a> ou des objets.", "localization_tags": [], "locale": "fr", "last_edit": "2018-12-18T03:55:05.765865", "review_tags": []}, {"uuid": "3fdc01e5-8a89-4d97-89cd-ba92e9795d5c", "title": "Set", "url": "/it/docs/Web/JavaScript/Reference/Global_Objects/Set", "tags": [], "summary": "Gli oggetti\u00a0<code>Set</code> sono collezioni di valori, e possibile iterare i valori nel loro ordine di inserimento. Un valore in un <code>Set</code>\u00a0pu\u00f2 occorrere solo una volta; \u00e8 quindi unico nella collezione.", "localization_tags": ["inprogress"], "locale": "it", "last_edit": "2018-01-26T06:22:56.996359", "review_tags": []}, {"uuid": "5f87d6b1-7801-4591-9ef3-84e02ffdab26", "title": "Set", "url": "/ja/docs/Web/JavaScript/Reference/Global_Objects/Set", "tags": ["ECMAScript6", "set", "Experimental", "Exp\u00e9rimental(2)", "JavaScript"], "summary": "<strong><code>Set</code></strong> \u306f\u3001<a href=\"/ja/docs/Glossary/Primitive\" class=\"glossaryLink\" title=\"primitive values: \u30d7\u30ea\u30df\u30c6\u30a3\u30d6 (primitive\u3001\u30d7\u30ea\u30df\u30c6\u30a3\u30d6\u5024\u3001\u30d7\u30ea\u30df\u30c6\u30a3\u30d6\u30c7\u30fc\u30bf\u578b) \u306f\u3001\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3067\u306a\u304f\u3001\u30e1\u30bd\u30c3\u30c9\u3092\u6301\u305f\u306a\u3044\u30c7\u30fc\u30bf\u306e\u3053\u3068\u3067\u3059\u3002JavaScript \u306b\u306f 6 \u500b\u306e\u30d7\u30ea\u30df\u30c6\u30a3\u30d6\u30c7\u30fc\u30bf\u578b\u304c\u3042\u308a\u307e\u3059\u3002\u6587\u5b57\u5217\u3001\u6570\u5024\u3001\u771f\u507d\u5024\u3001null\u3001undefined\u3001\u305d\u3057\u3066\u30b7\u30f3\u30dc\u30eb\u3067\u3059 (ECMAScript 2015 \u3067\u8ffd\u52a0)\u3002\">primitive values</a>\u3067\u3082\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u53c2\u7167\u3067\u3082\u3001\u3069\u3093\u306a\u578b\u3067\u3082<em>\u4e00\u610f\u306e</em>\u5024\u3092\u683c\u7d0d\u3067\u304d\u307e\u3059\u3002", "localization_tags": ["inprogress"], "locale": "ja", "last_edit": "2018-04-09T19:11:27.472983", "review_tags": ["editorial"]}, {"uuid": "a6003ea9-1a6e-4cb0-9067-10ff69d51e9a", "title": "Set", "url": "/ko/docs/Web/JavaScript/Reference/Global_Objects/Set", "tags": ["set", "JavaScript", "ECMAScript 2015", "Global Objects", "Object"], "summary": "<strong><code>Set</code></strong> \uac1d\uccb4\ub294 \uc5b4\ub5a4 \ud615(<a href=\"/en-US/docs/Glossary/Primitive\" class=\"glossaryLink\" title=\"\uc6d0\uc2dc \uac12(primitive values): A primitive (primitive value, primitive data type) is data that is not an object and has no methods. In JavaScript, there are 6 primitive data types: string, number, boolean, null, undefined, symbol (new in ECMAScript 2015).\">\uc6d0\uc2dc \uac12(primitive values)</a>\uc774\ub4e0 \uac1d\uccb4 \ucc38\uc870\ub4e0)\uc774\ub4e0 \uc720\uc77c\ud55c \uac12\uc744 \uc800\uc7a5\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.", "localization_tags": [], "locale": "ko", "last_edit": "2017-06-28T00:57:21.883423", "review_tags": []}, {"uuid": "5924a812-d855-4c9d-ab5d-cb5d1fbf54dd", "title": "Set", "url": "/pl/docs/Web/JavaScript/Referencje/Obiekty/Set", "tags": ["JavaScript", "ECMAScript 2015", "Global Objects", "Object", "ECMAScript6", "set"], "summary": "Obiekt <code><strong>Set</strong></code>\u00a0umo\u017cliwia przechowywanie <em>unikalnych </em>warto\u015bci ka\u017cdego typu, zar\u00f3wno\u00a0<a href=\"/en-US/docs/Glossary/Primitive\" class=\"glossaryLink\" title=\"primityw\u00f3w: A primitive (primitive value, primitive data type) is data that is not an object and has no methods. In JavaScript, there are 6 primitive data types: string, number, boolean, null, undefined, symbol (new in ECMAScript 2015).\">primityw\u00f3w</a> jak i obiekt\u00f3w.", "localization_tags": [], "locale": "pl", "last_edit": "2018-03-22T01:26:03.254667", "review_tags": []}, {"uuid": "d50ba47a-15ad-4851-b5cb-cf167f67627b", "title": "Set", "url": "/pt-BR/docs/Web/JavaScript/Reference/Global_Objects/Set", "tags": [], "summary": "O objeto <strong><code>Set</code></strong>\u00a0permite que voc\u00ea armazene valores <em>\u00fanicos</em> de qualquer tipo, desde\u00a0<a href=\"/pt-BR/docs/Glossario/Primitivo\" class=\"glossaryLink\" title=\"valores primitivos: Um\u00a0primitivo\u00a0(valor primitivo, tipo de dados primitivo) \u00e9 um dado que n\u00e3o \u00e9 representado atrav\u00e9s de um\u00a0Objeto e, por consequ\u00eancia, n\u00e3o possui m\u00e9todos.\">valores primitivos</a> a refer\u00eancias a objetos.", "localization_tags": ["inprogress"], "locale": "pt-BR", "last_edit": "2018-05-05T10:08:03.750037", "review_tags": []}, {"uuid": "bf099fe6-7771-488c-813f-7e9ca1fbc1a1", "title": "Set", "url": "/ro/docs/Web/JavaScript/Reference/Global_Objects/Set", "tags": [], "summary": "Obiectele de tip\u00a0<code>Set </code>reprezint\u0103 colec\u021bii de valori, oferind posibilitatea de a itera peste elementele lor \u00een ordinea inser\u0103rii. O valoare\u00a0din cadrului unui<code> Set poate ap\u0103rea doar o singura dat\u0103, fiind unic\u0103 \u00een colec\u021bia acestuia.</code>", "localization_tags": ["inprogress"], "locale": "ro", "last_edit": "2015-12-10T15:14:30", "review_tags": ["editorial"]}, {"uuid": "2730dee0-8313-4cfd-ade7-16f975382df4", "title": "Set", "url": "/ru/docs/Web/JavaScript/Reference/Global_Objects/Set", "tags": ["ECMAScript6", "set", "\u042d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u0430\u043b\u044c\u043d\u044b\u0439", "JavaScript"], "summary": "\u041e\u0431\u044a\u0435\u043a\u0442\u044b\u00a0<strong><code>Set</code></strong> \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0442 \u0432\u0430\u043c \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0442\u044c <em>\u0443\u043d\u0438\u043a\u0430\u043b\u044c\u043d\u044b\u0435</em> \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u043b\u044e\u0431\u043e\u0433\u043e \u0442\u0438\u043f\u0430, \u043a\u0430\u043a <a href=\"/ru/docs/%D0%A1%D0%BB%D0%BE%D0%B2%D0%B0%D1%80%D1%8C/Primitive\" class=\"glossaryLink\" title=\"\u043f\u0440\u0438\u043c\u0438\u0442\u0438\u0432\u044b: \u0427\u0430\u0449\u0435 \u0432\u0441\u0435\u0433\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043f\u0440\u0438\u043c\u0438\u0442\u0438\u0432\u043d\u043e\u0433\u043e \u0442\u0438\u043f\u0430 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u043e \u0432 \u043d\u0438\u0437\u043a\u043e\u0443\u0440\u043e\u0432\u043d\u0435\u0432\u043e\u0439 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u044f\u0437\u044b\u043a\u0430.\">\u043f\u0440\u0438\u043c\u0438\u0442\u0438\u0432\u044b</a>, \u0442\u0430\u043a \u0438 \u0434\u0440\u0443\u0433\u0438\u0435 \u0442\u0438\u043f\u044b \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432.", "localization_tags": [], "locale": "ru", "last_edit": "2018-09-17T11:18:57.772658", "review_tags": ["editorial"]}, {"uuid": "6e5f7b06-f4a0-4598-b9b2-cfca3d65ec82", "title": "Set", "url": "/uk/docs/Web/JavaScript/Reference/Global_Objects/Set", "tags": ["\u0441\u0435\u0442", "set"], "summary": "The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone <a href=\"https://github.com/mdn/interactive-examples\">https://github.com/mdn/interactive-examples</a> and send us a pull request.", "localization_tags": ["inprogress"], "locale": "uk", "last_edit": "2018-01-11T09:57:09.568000", "review_tags": []}, {"uuid": "c41b8b27-7927-4767-a8ef-fa84db4442d4", "title": "Set", "url": "/vi/docs/Web/JavaScript/Reference/Global_Objects/Set", "tags": ["Java", "set", "ECMAScript6"], "summary": "Object\u00a0<strong><code>Set</code></strong> cho ph\u00e9p b\u1ea1n l\u01b0u c\u00e1c gi\u00e1 tr\u1ecb\u00a0<em>kh\u00f4ng tr\u00f9ng l\u1eb7p</em>,\u00a0 gi\u00e1 tr\u1ecb \u0111\u00f3 c\u00f3 th\u1ec3 l\u00e0 <a href=\"/en-US/docs/Glossary/Primitive\" class=\"glossaryLink\" title=\"primitive values: A primitive (primitive value, primitive data type) is data that is not an object and has no methods. In JavaScript, there are 6 primitive data types: string, number, boolean, null, undefined, symbol (new in ECMAScript 2015).\">primitive values</a> ho\u1eb7c m\u1ed9t\u00a0object reference.", "localization_tags": ["inprogress"], "locale": "vi", "last_edit": "2018-12-02T20:13:26.288028", "review_tags": []}, {"uuid": "abfb3f1d-4705-4a68-8ead-ced0690720a0", "title": "Set", "url": "/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Set", "tags": ["ECMAScript6", "set", "\u96c6\u5408", "JavaScript"], "summary": "<strong><code>Set</code></strong>\u00a0\u5bf9\u8c61\u5141\u8bb8\u4f60\u5b58\u50a8\u4efb\u4f55\u7c7b\u578b\u7684\u552f\u4e00\u503c\uff0c\u65e0\u8bba\u662f<a href=\"/en-US/docs/Glossary/Primitive\" class=\"glossaryLink\" title=\"\u539f\u59cb\u503c: A primitive (primitive value, primitive data type) is data that is not an object and has no methods. In JavaScript, there are 6 primitive data types: string, number, boolean, null, undefined, symbol (new in ECMAScript 2015).\">\u539f\u59cb\u503c</a>\u6216\u8005\u662f\u5bf9\u8c61\u5f15\u7528\u3002", "localization_tags": [], "locale": "zh-CN", "last_edit": "2018-08-05T19:15:45.877578", "review_tags": []}, {"uuid": "99f223c5-3260-49a8-a993-3e8a4e4f1b1a", "title": "Set", "url": "/zh-TW/docs/Web/JavaScript/Reference/Global_Objects/Set", "tags": ["set", "Object", "ECMAScript 2015", "Global Objects", "JavaScript"], "summary": "<strong><code>Set</code></strong> \u7269\u4ef6\u53ef\u8b93\u4f60\u5132\u5b58\u4efb\u4f55\u985e\u578b\u7684\u552f\u4e00\u503c\uff08unique\uff09\uff0c\u4e0d\u8ad6\u662f<a href=\"/en-US/docs/Glossary/Primitive\" class=\"glossaryLink\" title=\"\u57fa\u672c\u578b\u5225\uff08primitive\uff09\u503c: A primitive (primitive value, primitive data type) is data that is not an object and has no methods. In JavaScript, there are 6 primitive data types: string, number, boolean, null, undefined, symbol (new in ECMAScript 2015).\">\u57fa\u672c\u578b\u5225\uff08primitive\uff09\u503c</a>\u6216\u7269\u4ef6\u53c3\u8003\uff08references\uff09\u3002", "localization_tags": ["inprogress"], "locale": "zh-TW", "last_edit": "2018-04-08T03:09:51.046437", "review_tags": []}], "modified": "2019-01-16T20:28:13.031816", "label": "Set", "localization_tags": ["inprogress"], "locale": "id", "id": 218987, "last_edit": "2017-08-02T06:46:14.360567", "summary": "<code><font face=\"Open Sans, arial, sans-serif\">Anda bisa menyimpan unik values dengan type apa saja ke dalam\u00a0</font><strong>Set</strong></code> object, baik\u00a0<a href=\"/en-US/docs/Glossary/Primitive\" class=\"glossaryLink\" title=\"primitive values: A primitive (primitive value, primitive data type) is data that is not an object and has no methods. In JavaScript, there are 6 primitive data types: string, number, boolean, null, undefined, symbol (new in ECMAScript 2015).\">primitive values</a> maupun\u00a0object references.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Syntax", "title": "Syntax"}, {"id": "Parameters", "title": "Parameters"}, {"id": "Return_value", "title": "Return value"}, {"id": "Description", "title": "Description"}, {"id": "Value_equality", "title": "Value equality"}, {"id": "Properties", "title": "Properties"}, {"id": "Set_instances", "title": null}, {"id": "Properties_2", "title": "Properties"}, {"id": "Methods", "title": "Methods"}, {"id": "Examples", "title": "Examples"}, {"id": "Using_the_Set_object", "title": "Using the "}, {"id": "Iterating_Sets", "title": "Iterating Sets"}, {"id": "Implementing_basic_set_operations", "title": "Implementing basic set operations"}, {"id": "Relation_with_Array_objects", "title": "Relation with "}, {"id": "Specifications", "title": "Specifications"}, {"id": "Browser_compatibility", "title": "Browser compatibility"}, {"id": "See_also", "title": "See also"}], "slug": "Web/JavaScript/Reference/Global_Objects/Set", "review_tags": []}