{"json_modified": "2016-07-27T18:15:38.018316", "uuid": "977073c9-4c6a-48de-aaed-988ce7e7a080", "title": "Enumerabilidade e posse de propriedades", "url": "/pt-BR/docs/Web/JavaScript/Enumerabilidade_e_posse_de_propriedades", "tags": ["JavaScript"], "translations": [{"uuid": "fd1210ba-aadf-4130-9d7f-33aad2e052fd", "title": "Enumerability and ownership of properties", "url": "/en-US/docs/Web/JavaScript/Enumerability_and_ownership_of_properties", "tags": ["JavaScript"], "summary": "Enumerable properties are those properties whose internal [[Enumerable]] flag is set to true, which is the default for properties created via simple assignment or via a property initializer (properties defined via Object.defineProperty and such default [[Enumerable]] to false). Enumerable properties show up in for...in loops unless the property's name is a Symbol. Ownership of properties is determined by whether the property belongs to the object directly and not to its prototype chain. Properties of an object can also be retrieved in total. There are a number of built-in means of detecting, iterating/enumerating, and retrieving object properties, with the chart showing which are available. Some sample code follows which demonstrates how to obtain the missing categories.", "localization_tags": [], "locale": "en-US", "last_edit": "2016-03-14T10:51:11", "review_tags": []}, {"uuid": "e52f1fff-2984-45d2-8677-eadc973da8eb", "title": "\u5c5e\u6027\u7684\u53ef\u679a\u4e3e\u6027\u548c\u6240\u6709\u6743", "url": "/zh-CN/docs/Web/JavaScript/Enumerability_and_ownership_of_properties", "tags": [], "summary": "\u53ef\u679a\u4e3e\u5c5e\u6027\u662f\u6307\u90a3\u4e9b\u5185\u90e8 \u201c\u53ef\u679a\u4e3e\u201d \u6807\u5fd7\u8bbe\u7f6e\u4e3atrue\u7684\u5c5e\u6027\uff0c\u5bf9\u4e8e\u901a\u8fc7\u76f4\u63a5\u7684\u8d4b\u503c\u548c\u5c5e\u6027\u521d\u59cb\u5316\u7684\u5c5e\u6027\uff0c\u8be5\u6807\u8bc6\u503c\u9ed8\u8ba4\u4e3a\u5373\u4e3atrue\uff0c\u5bf9\u4e8e\u901a\u8fc7Object.defineProperty\u7b49\u5b9a\u4e49\u7684\u5c5e\u6027\uff0c\u8be5\u6807\u8bc6\u503c\u9ed8\u8ba4\u4e3afalse\u3002\u53ef\u679a\u4e3e\u7684\u5c5e\u6027\u53ef\u4ee5\u901a\u8fc7 for...in \u5faa\u73af\u8fdb\u884c\u904d\u5386\uff08\u9664\u975e\u8be5\u5c5e\u6027\u540d\u662f\u4e00\u4e2a Symbol\uff09\u3002\u5c5e\u6027\u7684\u6240\u6709\u6743\u662f\u901a\u8fc7\u5224\u65ad\u8be5\u5c5e\u6027\u662f\u5426\u76f4\u63a5\u5c5e\u4e8e\u67d0\u4e2a\u5bf9\u8c61\u51b3\u5b9a\u7684\uff0c\u800c\u4e0d\u662f\u901a\u8fc7\u539f\u578b\u94fe\u7ee7\u627f\u7684\u3002\u4e00\u4e2a\u5bf9\u8c61\u7684\u6240\u6709\u7684\u5c5e\u6027\u53ef\u4ee5\u4e00\u6b21\u6027\u7684\u83b7\u53d6\u5230\u3002\u6709\u4e00\u4e9b\u5185\u7f6e\u7684\u65b9\u6cd5\u53ef\u4ee5\u7528\u4e8e\u5224\u65ad\u3001\u8fed\u4ee3/\u679a\u4e3e\u4ee5\u53ca\u83b7\u53d6\u5bf9\u8c61\u7684\u4e00\u4e2a\u6216\u4e00\u7ec4\u5c5e\u6027\uff0c\u4e0b\u8868\u5bf9\u8fd9\u4e9b\u65b9\u6cd5\u8fdb\u884c\u4e86\u5217\u4e3e\u3002\u5bf9\u4e8e\u90e8\u5206\u4e0d\u53ef\u7528\u7684\u7c7b\u522b\uff0c\u4e0b\u65b9\u7684\u793a\u4f8b\u4ee3\u7801\u5bf9\u83b7\u53d6\u65b9\u6cd5\u8fdb\u884c\u4e86\u6f14\u793a\u3002", "localization_tags": [], "locale": "zh-CN", "last_edit": "2016-06-26T19:45:05", "review_tags": []}, {"uuid": "ddfaf375-e62c-40be-b59c-8178b3bfefdb", "title": "Caract\u00e8re \u00e9num\u00e9rable des propri\u00e9t\u00e9s et rattachement", "url": "/fr/docs/Web/JavaScript/Caract%C3%A8re_%C3%A9num%C3%A9rable_des_propri%C3%A9t%C3%A9s_et_rattachement", "tags": ["JavaScript"], "summary": "Note : les algorithmes utilis\u00e9s ici ne sont pas les plus efficaces mais permettent juste de d\u00e9montrer ce qu'on peut faire.", "localization_tags": [], "locale": "fr", "last_edit": "2016-03-14T12:11:15", "review_tags": []}, {"uuid": "6953a883-c5b2-422e-ad57-303f0048e27e", "title": "Enumeraci\u00f3n y propietarios de propiedades", "url": "/es/docs/Web/JavaScript/enumeracion_y_propietario_de_propiedades", "tags": ["Enumeraci\u00f3n", "Propiedades", "JavaScript"], "summary": "Las propiedades enumerables son aquellas que pueden ejecutarse repetidamente en un ciclo\u00a0ciclo for..in.", "localization_tags": ["inprogress"], "locale": "es", "last_edit": "2015-04-12T04:12:20", "review_tags": []}, {"uuid": "f83ecbb1-d2d1-4916-8b70-03996f39f9a8", "title": "Enumerabilitat i pertanyen\u00e7a de les propietats", "url": "/ca/docs/Web/JavaScript/Enumerability_and_ownership_of_properties", "tags": [], "summary": "Les propietats enumerables s\u00f3n aquelles que es poden iterar en un bucle for..in. La pertanyen\u00e7a de les propietats \u00e9s determinada pel fet de si la propietat pertany directament a l'objecte en comptes de la seva cadena de prototipus. Les propietats d'un objecte tamb\u00e9 poden ser contades per a obtenir el nombre de propietats. Hi ha diverses formes de detectar, iterar/enumerar i obtindre les propietats d'un objecte. Es pot veure a la taula quines es poden emprar en cada cas. A continuaci\u00f3 trobareu un boc\u00ed de codi d'exemple on es mostra com otenir les categories no trobades.", "localization_tags": [], "locale": "ca", "last_edit": "2015-03-08T13:35:12", "review_tags": ["editorial"]}, {"uuid": "51bd179a-85f1-4248-9689-8f1dfa8fefef", "title": "Enumerability and ownership of properties", "url": "/ja/docs/Web/JavaScript/Enumerability_and_ownership_of_properties", "tags": ["JavaScript"], "summary": "\u5217\u6319\u53ef\u80fd\u306a (enumerable)\u30d7\u30ed\u30d1\u30c6\u30a3\u3068\u306f\u3001\u5185\u90e8\u306e [[Enumerable]] \u30d5\u30e9\u30b0\u304ctrue\u306b\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u308b\u3082\u306e\u3067\u3042\u308a\u3001\u5358\u7d14\u306a\u4ee3\u5165\u3084\u521d\u671f\u5316\u3067\u751f\u6210\u3055\u308c\u305f\u30d7\u30ed\u30d1\u30c6\u30a3\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u305d\u3046\u306a\u308a\u307e\u3059\uff08\u4e00\u65b9\u3001Object.defineProperty()
\u3067\u8ffd\u52a0\u3057\u305f\u30d7\u30ed\u30d1\u30c6\u30a3\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067 [[Enumerable]] \u304c false \u306b\u306a\u308a\u307e\u3059\uff09\u3002 \u5217\u6319\u53ef\u80fd\u306a\u30d7\u30ed\u30d1\u30c6\u30a3\u306f\u3001\u540d\u524d\u304cSymbol
\u3067\u3042\u308b\u5834\u5408\u3092\u9664\u3044\u3066\u3001 for...in
\u30eb\u30fc\u30d7\u306e\u5bfe\u8c61\u306b\u306a\u308a\u307e\u3059\u3002
\n \u76f4\u63a5\u6240\u6709\u306e (own)\u30d7\u30ed\u30d1\u30c6\u30a3\u3068\u306f\u3001\u30d7\u30ed\u30c8\u30bf\u30a4\u30d7\u30c1\u30a7\u30fc\u30f3\u4e0a\u3067\u306f\u306a\u304f\u3001\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306b\u76f4\u63a5\u5c5e\u3057\u3066\u3044\u308b\u30d7\u30ed\u30d1\u30c6\u30a3\u306e\u3053\u3068\u3067\u3059\u3002
\n \u30d7\u30ed\u30d1\u30c6\u30a3\u306f\u307e\u3068\u3081\u3066\u53d6\u308a\u6271\u3046\u3053\u3068\u3082\u3067\u304d\u3001\u30d7\u30ed\u30d1\u30c6\u30a3\u306e\u691c\u51fa\u3001\u53d6\u5f97\u3001\u53cd\u5fa9/\u5217\u6319 \u306b\u95a2\u9023\u3059\u308b\u591a\u6570\u306e\u7d44\u307f\u8fbc\u307f\u6a5f\u80fd\u304c\u3042\u308a\u307e\u3059\u3002\u305d\u308c\u3089\u3092\u4e0b\u56f3\u306b\u793a\u3057\u307e\u3059\u3002 \u305d\u306e\u4e0b\u306b\u3042\u308b\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3067\u306f\u3001\u7d44\u307f\u8fbc\u307f\u6a5f\u80fd\u304c\u5bfe\u5fdc\u3057\u306a\u3044\u30ab\u30c6\u30b4\u30ea\u306b\u5bfe\u5fdc\u3059\u308b\u65b9\u6cd5\u3092\u793a\u3057\u307e\u3059\u3002", "localization_tags": ["inprogress"], "locale": "ja", "last_edit": "2016-05-19T02:00:37", "review_tags": ["technical", "editorial"]}, {"uuid": "81e65b57-e0c4-42d9-bdd1-7a1367997e51", "title": "Aufz\u00e4hlbarkeit und Zugeh\u00f6rigkeit von Eigenschaften", "url": "/de/docs/Web/JavaScript/Aufz%C3%A4hlbarkeit_und_Zugeh%C3%B6rigkeit_von_Eigenschaften", "tags": [], "summary": "Enumerable properties are those which can be iterated by a for..in loop. Ownership of properties is determined by whether the property belongs to the object directly and not to its prototype chain. Properties of an object can also be retrieved in total. There are a number of built-in means of detecting, iterating/enumerating, and retrieving object properties, with the chart showing which are available. Some sample code follows which demonstrates how to obtain the missing categories.", "localization_tags": ["inprogress"], "locale": "de", "last_edit": "2015-09-21T10:40:37", "review_tags": []}, {"uuid": "009dd128-bc27-4da2-8d9f-3fe40ca86ab9", "title": "Enumerability and ownership of properties", "url": "/ru/docs/Web/JavaScript/Enumerability_and_ownership_of_properties", "tags": [], "summary": "\u0412 \u044f\u0437\u044b\u043a\u0435 JavaScript \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432 \u043c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c \u043f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u044f\u0435\u043c\u044b\u043c\u0438 \u0438\u043b\u0438 \u043d\u0435\u043f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u044f\u0435\u043c\u044b\u043c\u0438 (\u0432\u0441\u0442\u0440\u0435\u0447\u0430\u0435\u0442\u0441\u044f \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0430: \u0441\u0447\u0451\u0442\u043d\u044b\u0435 \u0438\u043b\u0438 \u043d\u0435\u0441\u0447\u0451\u0442\u043d\u044b\u0435).\u00a0\u0415\u0441\u043b\u0438 \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0435\u043c\u0443 \u0444\u043b\u0430\u0433\u0443 [[Enumerable]] \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430 \u043f\u0440\u0438\u0441\u0432\u043e\u0438\u0442\u044c\u00a0\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 true, \u0442\u043e \u0434\u0430\u043d\u043d\u043e\u0435 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u043e \u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0441\u044f \u043f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u044f\u0435\u043c\u044b\u043c. \u042d\u0442\u043e \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0434\u043b\u044f \u0441\u0432\u043e\u0439\u0441\u0442\u0432, \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u044b\u0445 \u043f\u0440\u043e\u0441\u0442\u044b\u043c \u043f\u0440\u0438\u0441\u0432\u0430\u0438\u0432\u0430\u043d\u0438\u0435\u043c\u00a0\u0438\u043b\u0438 \u0447\u0435\u0440\u0435\u0437 \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044e \u0441\u0432\u043e\u0439\u0441\u0442\u0432 (\u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430,\u00a0\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0451\u043d\u043d\u044b\u0435\u00a0\u0447\u0435\u0440\u0435\u0437 Object.defineProperty \u043f\u043e\u043b\u0443\u0447\u0430\u044e\u0442 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435\u00a0\u0444\u043b\u0430\u0433\u0430\u00a0[[Enumerable]] \u0440\u0430\u0432\u043d\u044b\u043c false). \u041f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u044f\u0435\u043c\u044b\u0435 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430 \u0443\u0447\u0430\u0441\u0442\u0432\u0443\u044e\u0442 \u0432 \u0438\u0442\u0435\u0440\u0430\u0446\u0438\u0438 \u0432\u00a0\u0446\u0438\u043a\u043b\u0435\u00a0for...in, \u0435\u0441\u043b\u0438 \u0442\u043e\u043b\u044c\u043a\u043e \u0438\u043c\u044f \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430 \u043d\u0435\u00a0\u0421\u0438\u043c\u0432\u043e\u043b. \u041f\u0440\u0438\u043d\u0430\u0434\u043b\u0435\u0436\u043d\u043e\u0441\u0442\u044c \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442\u0441\u044f \u0442\u0435\u043c, \u043f\u0440\u0438\u043d\u0430\u0434\u043b\u0435\u0436\u0438\u0442 \u043b\u0438 \u043e\u043d\u043e \u043d\u0435\u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u043e\u0431\u044a\u0435\u043a\u0442\u0443 \u0438\u043b\u0438 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043e \u0438\u0437 \u0446\u0435\u043f\u043e\u0447\u043a\u0438 \u043f\u0440\u043e\u0442\u043e\u0442\u0438\u043f\u043e\u0432. \u0422\u0430\u043a\u0436\u0435 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0432\u0435\u0441\u044c \u0441\u043f\u0438\u0441\u043e\u043a \u0441\u0432\u043e\u0439\u0441\u0442\u0432 \u043e\u0431\u044a\u0435\u043a\u0442\u0430. \u041d\u0438\u0436\u0435, \u0432 \u0442\u0430\u0431\u043b\u0438\u0446\u0435, \u0443\u043a\u0430\u0437\u0430\u043d\u044b \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u044b\u0435 \u0441\u043f\u043e\u0441\u043e\u0431\u044b\u00a0\u043d\u0430\u0445\u043e\u0436\u0434\u0435\u043d\u0438\u044f, \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0438 \u0438\u0442\u0435\u0440\u0430\u0446\u0438\u0438\u00a0\u0441\u0432\u043e\u0439\u0441\u0442\u0432 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432. \u041d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0438\u0437 \u043d\u0438\u0445 \u043d\u0435\u043b\u044c\u0437\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0431\u0435\u0437 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u043a\u043e\u0434\u0430, \u043f\u0440\u0438\u043c\u0435\u0440\u044b \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d\u044b \u043f\u043e\u0441\u043b\u0435 \u0442\u0430\u0431\u043b\u0438\u0446\u044b.", "localization_tags": [], "locale": "ru", "last_edit": "2015-12-30T03:24:57", "review_tags": ["editorial"]}, {"uuid": "9bb2ede5-5c53-4366-b8fa-318afd9403fa", "title": "\u5c6c\u6027\u7684\u53ef\u5217\u8209\u6027\u53ca\u6240\u6709\u6b0a", "url": "/zh-TW/docs/Web/JavaScript/Enumerability_and_ownership_of_properties", "tags": [], "summary": "Enumerable properties are those properties whose internal [[Enumerable]] flag is set to true, which is the default for properties created via simple assignment or via a property initializer (properties defined via Object.defineProperty and such default [[Enumerable]] to false). Enumerable properties show up in for...in loops unless the property's name is a Symbol. Ownership of properties is determined by whether the property belongs to the object directly and not to its prototype chain. Properties of an object can also be retrieved in total. There are a number of built-in means of detecting, iterating/enumerating, and retrieving object properties, with the chart showing which are available. Some sample code follows which demonstrates how to obtain the missing categories.", "localization_tags": ["inprogress"], "locale": "zh-TW", "last_edit": "2016-07-05T10:01:23", "review_tags": []}], "modified": "2016-07-27T18:15:35", "label": "Enumerabilidade e posse de propriedades", "localization_tags": [], "locale": "pt-BR", "id": 188755, "last_edit": "2016-07-27T18:15:27", "summary": "", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Obtendo_propriedades_por_enumerabilidadeposse", "title": "Obtendo propriedades por enumerabilidade/posse"}, {"id": "Tabela_de_Detec\u00e7\u00e3o", "title": "Tabela de Detec\u00e7\u00e3o"}, {"id": "Veja_tamb\u00e9m", "title": "Veja tamb\u00e9m"}], "slug": "Web/JavaScript/Enumerabilidade_e_posse_de_propriedades", "review_tags": []}