{"json_modified": "2016-02-21T19:40:44.739667", "slug": "Web/JavaScript/Reference/Global_Objects/Object/keys", "tags": [], "locale": "id", "title": "Object.keys()", "translations": [{"title": "Object.keys()", "url": "/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/keys", "tags": ["ECMAScript5", "JavaScript 1.8.5", "JavaScript", "Method", "Object"], "summary": "The Object.keys()
method returns an array of a given object's own enumerable properties, in the same order as that provided by a for...in
loop (the difference being that a for-in loop enumerates properties in the prototype chain as well).", "localization_tags": [], "locale": "en-US", "last_edit": "2016-02-16T00:52:02", "review_tags": []}, {"title": "Object.keys()", "url": "/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Object/keys", "tags": [], "summary": "Object.keys() \u65b9\u6cd5\u4f1a\u8fd4\u56de\u4e00\u4e2a\u7531\u7ed9\u5b9a\u5bf9\u8c61\u7684\u6240\u6709\u53ef\u679a\u4e3e\u81ea\u8eab\u5c5e\u6027\u7684\u5c5e\u6027\u540d\u7ec4\u6210\u7684\u6570\u7ec4\uff0c\u6570\u7ec4\u4e2d\u5c5e\u6027\u540d\u7684\u6392\u5217\u987a\u5e8f\u548c\u4f7f\u7528for-in
\u5faa\u73af\u904d\u5386\u8be5\u5bf9\u8c61\u65f6\u8fd4\u56de\u7684\u987a\u5e8f\u4e00\u81f4\uff08\u4e24\u8005\u7684\u4e3b\u8981\u533a\u522b\u662f for-in \u8fd8\u4f1a\u904d\u5386\u51fa\u4e00\u4e2a\u5bf9\u8c61\u4ece\u5176\u539f\u578b\u94fe\u4e0a\u7ee7\u627f\u5230\u7684\u53ef\u679a\u4e3e\u5c5e\u6027\uff09\u3002", "localization_tags": [], "locale": "zh-CN", "last_edit": "2015-04-17T07:48:52", "review_tags": []}, {"title": "Object.keys()", "url": "/ja/docs/Web/JavaScript/Reference/Global_Objects/Object/keys", "tags": [], "summary": "\u4e0e\u3048\u3089\u308c\u305f\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u81ea\u8eab\u306b\u5b58\u5728\u3059\u308b\u5217\u6319\u53ef\u80fd\u306a\u30d7\u30ed\u30d1\u30c6\u30a3\u306e\u914d\u5217\u3092\u3001for-in
\u30eb\u30fc\u30d7\u3067\u63d0\u4f9b\u3055\u308c\u308b\u3082\u306e\u3068\u540c\u3058\u9806\u756a\u3067\u8fd4\u3057\u307e\u3059 (for-in \u30eb\u30fc\u30d7\u3068\u306e\u9055\u3044\u306f\u3001for-in \u30eb\u30fc\u30d7\u3067\u306f\u30d7\u30ed\u30c8\u30bf\u30a4\u30d7\u30c1\u30a7\u30a4\u30f3\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u3082\u5217\u6319\u3059\u308b\u3053\u3068\u3067\u3059)\u3002", "localization_tags": [], "locale": "ja", "last_edit": "2015-04-13T15:51:24", "review_tags": []}, {"title": "Object.keys()", "url": "/it/docs/Web/JavaScript/Reference/Global_Objects/Object/keys", "tags": ["ECMAScript5", "JavaScript 1.8.5", "Metodi", "Oggetti", "JavaScript"], "summary": "Il metodo\u00a0Object.keys()
restituisce un array contenente le propriet\u00e0 enumerabili di un dato oggetto, nel medesimo ordine fornito da un ciclo\u00a0for...in
\u00a0 (la differenza \u00e8 che un ciclo for-in enumera anche le propriet\u00e0 nella catena di prototipi).", "localization_tags": [], "locale": "it", "last_edit": "2014-07-03T07:52:06", "review_tags": []}, {"title": "Object.keys()", "url": "/fr/docs/Web/JavaScript/Reference/Objets_globaux/Object/keys", "tags": ["ECMAScript5", "JavaScript 1.8.5", "polyfill", "Object", "R\u00e9f\u00e9rence", "JavaScript", "M\u00e9thode"], "summary": "La m\u00e9thode Object.keys()
renvoie un tableau des propri\u00e9t\u00e9s propres \u00e0 un objet (qui ne sont pas h\u00e9rit\u00e9es via la cha\u00eene de prototypes) et qui sont \u00e9num\u00e9rables. L'ordre de ce tableau est le m\u00eame que celui obtenu par une boucle for...in
(\u00e0 la diff\u00e9rence q'une boucle for-in liste \u00e9galement les propri\u00e9t\u00e9s h\u00e9rit\u00e9es).", "localization_tags": [], "locale": "fr", "last_edit": "2016-02-16T03:58:36", "review_tags": []}, {"title": "Object.keys()", "url": "/ru/docs/Web/JavaScript/Reference/Global_Objects/Object/keys", "tags": ["ECMAScript5", "JavaScript 1.8.5", "polyfill", "Reference", "Object", "R\u00e9f\u00e9rence", "JavaScript", "Method"], "summary": "\u041c\u0435\u0442\u043e\u0434 Object.keys()
\u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u043c\u0430\u0441\u0441\u0438\u0432 \u0438\u0437 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0445 \u043f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u044f\u0435\u043c\u044b\u0445 \u0441\u0432\u043e\u0439\u0441\u0442\u0432 \u043f\u0435\u0440\u0435\u0434\u0430\u043d\u043d\u043e\u0433\u043e \u043e\u0431\u044a\u0435\u043a\u0442\u0430, \u0432 \u0442\u043e\u043c \u0436\u0435 \u043f\u043e\u0440\u044f\u0434\u043a\u0435, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u043e\u043d\u0438 \u0431\u044b \u043e\u0431\u0445\u043e\u0434\u0438\u043b\u0438\u0441\u044c \u0446\u0438\u043a\u043b\u043e\u043c for...in
(\u0440\u0430\u0437\u043d\u0438\u0446\u0430 \u043c\u0435\u0436\u0434\u0443 \u0446\u0438\u043a\u043b\u043e\u043c \u0438 \u043c\u0435\u0442\u043e\u0434\u043e\u043c \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u0446\u0438\u043a\u043b \u043f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u044f\u0435\u0442 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430 \u0438 \u0438\u0437 \u0446\u0435\u043f\u043e\u0447\u043a\u0438 \u043f\u0440\u043e\u0442\u043e\u0442\u0438\u043f\u043e\u0432).", "localization_tags": [], "locale": "ru", "last_edit": "2015-01-29T03:34:05", "review_tags": []}, {"title": "Object.keys()", "url": "/es/docs/Web/JavaScript/Referencia/Objetos_globales/Object/keys", "tags": [], "summary": "El m\u00e9todo\u00a0Object.keys()\u00a0devuelve un arreglo de las propiedades enumerables de un objeto dado, en el mismo orden que el que provee la iteraci\u00f3n for...in
(La diferencia radica en que el bulce for-in enumera las propiedades en la cadena prototipo).", "localization_tags": ["inprogress"], "locale": "es", "last_edit": "2016-01-21T01:00:25", "review_tags": []}, {"title": "Object.keys()", "url": "/de/docs/Web/JavaScript/Reference/Global_Objects/Object/keys", "tags": [], "summary": "Die Object.keys()
Funktion gibt ein Array zur\u00fcck, das die eigenen aufz\u00e4hlbaren Eigenschaften des Objektes in der selben Reihenfolge enth\u00e4lt wie in der for...in
Schleife (der Unterschied zwischen diesen beiden Varianten besteht darin, dass eine for-in Schleife auch die aufz\u00e4hlbaren Eigenschaften der Prototypen beinhaltet).", "localization_tags": ["inprogress"], "locale": "de", "last_edit": "2015-08-18T09:29:54", "review_tags": []}, {"title": "Object.keys()", "url": "/pt-BR/docs/Web/JavaScript/Reference/Global_Objects/Object/keys", "tags": [], "summary": "O m\u00e9todo\u00a0Object.keys()
\u00a0retorna um array\u00a0de propriedades enumeraveis de um determinado objeto, na mesma ordem em que \u00e9 fornecida por um la\u00e7o for...in
(a diferen\u00e7a \u00e9 que um la\u00e7o for-in \u00a0enumera propriedades que estejam na cadeia de prot\u00f3tipos).", "localization_tags": [], "locale": "pt-BR", "last_edit": "2015-10-16T08:59:12", "review_tags": []}, {"title": "Object.keys()", "url": "/ca/docs/Web/JavaScript/Reference/Global_Objects/Object/keys", "tags": [], "summary": "El m\u00e8tode Object.keys()
retorna un array de les propietats enumerables pr\u00f2pies de l'objecte, en el mateix ordre en que es donarien en un bucle for...in
(la difer\u00e8ncia radica en que el bucle for-in tamb\u00e9 enumera les propietats que pertanyen a la cadena de prototipus).", "localization_tags": [], "locale": "ca", "last_edit": "2015-10-11T13:57:22", "review_tags": []}], "modified": "2016-02-21T19:40:43", "label": "Object.keys()", "localization_tags": ["inprogress"], "url": "/id/docs/Web/JavaScript/Reference/Global_Objects/Object/keys", "last_edit": "2016-02-21T19:40:39", "summary": "Object.keys()
Metode mengembalikan array dari objek yang diberikan sendiri enumerable properti, dalam urutan yang sama seperti yang disediakan oleh loop for...in
\u00a0(perbedaan adalah bahwa sebuah loop for-in\u00a0enumerates properti\u00a0dalam mata rantai prototipe juga).", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Syntax", "title": "Syntax"}, {"id": "Parameters", "title": "Parameters"}, {"id": "Description", "title": "Description"}, {"id": "Examples", "title": "Examples"}, {"id": "Notes", "title": "Notes"}, {"id": "Polyfill", "title": "Polyfill"}, {"id": "Specifications", "title": "Specifications"}, {"id": "Browser_compatibility", "title": "Browser compatibility"}, {"id": "See_also", "title": "See also"}], "id": 177093, "review_tags": []}