{"json_modified": "2015-06-04T14:01:36.516795", "slug": "Web/JavaScript/Guide/Details_of_the_Object_Model", "tags": ["JavaScript"], "locale": "es", "title": "Detalles del modelo de objetos", "translations": [{"title": "Details of the object model", "url": "/en-US/docs/Web/JavaScript/Guide/Details_of_the_Object_Model", "tags": ["Guide", "JavaScript", "Intermediate", "Object"], "summary": "JavaScript is an object-based language based on prototypes, rather than being class-based. Because of this different basis, it can be less apparent how JavaScript allows you to create hierarchies of objects and to have inheritance of properties and their values. This chapter attempts to clarify the situation.", "localization_tags": [], "locale": "en-US", "last_edit": "2015-04-26T06:07:10", "review_tags": []}, {"title": "\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u30e2\u30c7\u30eb\u306e\u8a73\u7d30", "url": "/ja/docs/Web/JavaScript/Guide/Details_of_the_Object_Model", "tags": ["JavaScript", "NeedsTechnicalReview", "Object"], "summary": "JavaScript \u306f\u3001\u30d7\u30ed\u30c8\u30bf\u30a4\u30d7\u306b\u57fa\u3065\u3044\u3066\u3044\u308b\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u30d9\u30fc\u30b9\u306e\u8a00\u8a9e\u3067\u3059\u3002\u30af\u30e9\u30b9\u306b\u57fa\u3065\u3044\u3066\u3044\u308b\u306e\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u3053\u306e\u57fa\u790e\u90e8\u5206\u306e\u9055\u3044\u306b\u3088\u308a\u3001JavaScript \u306f\u3069\u306e\u3088\u3046\u306b\u3057\u3066\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u968e\u5c64\u69cb\u9020\u3092\u4f5c\u6210\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u3066\u3044\u308b\u304b\u3084\u3001\u30d7\u30ed\u30d1\u30c6\u30a3\u304a\u3088\u3073\u305d\u306e\u5024\u306e\u7d99\u627f\u3092\u53ef\u80fd\u306b\u3057\u3066\u3044\u308b\u304b\u304c\u660e\u78ba\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u672c\u7ae0\u3067\u306f\u3001\u3053\u308c\u3089\u306e\u5b9f\u614b\u3092\u660e\u3089\u304b\u306b\u3057\u307e\u3059\u3002", "localization_tags": [], "locale": "ja", "last_edit": "2013-06-05T10:08:02", "review_tags": []}, {"title": "\u5bf9\u8c61\u6a21\u578b\u7684\u7ec6\u8282", "url": "/zh-CN/docs/Web/JavaScript/Guide/Details_of_the_Object_Model", "tags": ["prototype", "on-progress", "ObjectModel"], "summary": "JavaScript \u662f\u4e00\u79cd\u57fa\u4e8e\u539f\u578b\u7684\u9762\u5411\u5bf9\u8c61\u8bed\u8a00\uff0c\u800c\u4e0d\u662f\u57fa\u4e8e\u7c7b\u7684\u3002\u6b63\u662f\u7531\u4e8e\u8fd9\u4e00\u6839\u672c\u7684\u533a\u522b\uff0c\u5176\u5982\u4f55\u521b\u5efa\u5bf9\u8c61\u7684\u5c42\u7ea7\u7ed3\u6784\u4ee5\u53ca\u5982\u4f55\u7ee7\u627f\u5c5e\u6027\u548c\u5c5e\u6027\u503c\uff0c\u53ef\u80fd\u4e0d\u662f\u90a3\u4e48\u6e05\u6670\u3002\u672c\u8282\u5c06\u8bd5\u7740\u9610\u660e\u8fd9\u4e00\u95ee\u9898\u3002", "localization_tags": [], "locale": "zh-CN", "last_edit": "2014-08-28T23:43:04", "review_tags": []}, {"title": "\u6df1\u5165\u4e86\u89e3\u7269\u4ef6\u6a21\u578b", "url": "/zh-TW/docs/Web/JavaScript/Guide/Details_of_the_Object_Model", "tags": [], "summary": "JavaScript \u662f\u4e00\u7a2e\u57fa\u65bc\u539f\u578b\uff0c\u800c\u4e0d\u662f\u57fa\u65bc\u985e\u7684\u7269\u4ef6\u5c0e\u5411\u8a9e\u8a00\u3002\u7531\u65bc\u9019\u500b\u6839\u672c\u7684\u5340\u5225\uff0c\u4f7f\u5b83\u5728\u5982\u4f55\u5275\u5efa\u7269\u4ef6\u7684\u5c64\u7d1a\u7d50\u69cb\uff0c\u4ee5\u53ca\u5982\u4f55\u7e7c\u627f\u5c6c\u6027\u548c\u5b83\u7684\u503c\u4e0a\uff0c\u986f\u5f97\u6709\u9ede\u6a21\u7cca\u3002\u672c\u6587\u5c07\u95e1\u660e\u9019\u500b\u554f\u984c\u3002", "localization_tags": [], "locale": "zh-TW", "last_edit": "2014-07-04T07:14:08", "review_tags": []}, {"title": "Feinheiten des Objektmodells", "url": "/de/docs/Web/JavaScript/Guide/Feinheiten_des_Objektmodells", "tags": ["Guide", "JavaScript", "Intermediate", "Object"], "summary": "JavaScript is an object-based language based on prototypes, rather than being class-based. Because of this different basis, it can be less apparent how JavaScript allows you to create hierarchies of objects and to have inheritance of properties and their values. This chapter attempts to clarify the situation.", "localization_tags": ["inprogress"], "locale": "de", "last_edit": "2015-04-22T04:12:03", "review_tags": []}, {"title": "Detalhes do modelo de objeto", "url": "/pt-BR/docs/Web/JavaScript/Guide/Detalhes_do_Modelo_do_Objeto", "tags": ["Entidade", "Objeto", "Orienta\u00e7\u00e3o \u00e1 Objeto", "Modelo"], "summary": "JavaScript \u00e9 uma linguagem orientada a objetos com base em prot\u00f3tipos, em vez de ser baseada em classes. Devido a essa base diferente, pode ser menos evidente como o JavaScript permite criar hierarquias de objetos e ter heran\u00e7a de propriedades e seus valores. Este cap\u00edtulo tenta esclarecer essa situa\u00e7\u00e3o.", "localization_tags": ["inprogress"], "locale": "pt-BR", "last_edit": "2015-05-11T10:08:21", "review_tags": ["editorial"]}, {"title": "Le mod\u00e8le objet JavaScript en d\u00e9tails", "url": "/fr/docs/Web/JavaScript/Guide/Le_mod%C3%A8le_objet_JavaScript_en_d%C3%A9tails", "tags": ["Guide", "JavaScript", "Intermediate", "Object"], "summary": "JavaScript est un langage objet bas\u00e9 sur des prototypes plus que sur des classes. Cette diff\u00e9rence peut rendre difficile la compr\u00e9hension des hi\u00e9rarchies entre objets, leurs cr\u00e9ations, l'h\u00e9ritage de propri\u00e9t\u00e9s et de leurs valeurs... L'objectif de ce chapitre est de clarifier ces diff\u00e9rents \u00e9l\u00e9ments en expliquant le mod\u00e8le prototypal et ses diff\u00e9rences avec un syst\u00e8me de classes.", "localization_tags": [], "locale": "fr", "last_edit": "2015-06-01T07:24:09", "review_tags": []}, {"title": "El model d'objectes en detall", "url": "/ca/docs/Web/JavaScript/Guide/Details_of_the_Object_Model", "tags": [], "summary": "JavaScript \u00e9s un llenguatge orientat a objectes basat en prototipus en comptes d'estar basat en classes. Degut a aquesta difer\u00e8ncia pot resultar menys evident la forma en que JavaScript permet crear jerarquies d'objectes i proporciona her\u00e8ncia de propietats i els seus valors. Aquest cap\u00edtol pret\u00e9n aclarir aquest tema.", "localization_tags": [], "locale": "ca", "last_edit": "2015-04-26T06:08:54", "review_tags": []}, {"title": "\u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435 \u043e\u0431 \u043e\u0431\u044a\u0435\u043a\u0442\u043d\u043e\u0439 \u043c\u043e\u0434\u0435\u043b\u0438", "url": "/ru/docs/Web/JavaScript/Guide/Details_of_the_Object_Model", "tags": [], "summary": "JavaScript \u044d\u0442\u043e \u043e\u0431\u044a\u0435\u043a\u0442\u043d\u043e-\u043e\u0440\u0438\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u044f\u0437\u044b\u043a \u043e\u0441\u043d\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u043d\u0430 \u043f\u0440\u043e\u0442\u043e\u0442\u0438\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0438,\u00a0\u0430 \u043d\u0435 \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 \u043a\u043b\u0430\u0441\u0441\u043e\u0432. \u0418\u0437-\u0437\u0430 \u044d\u0442\u043e\u0433\u043e \u0440\u0430\u0437\u043b\u0438\u0447\u0438\u044f \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043c\u0435\u043d\u0435\u0435 \u043e\u0447\u0435\u0432\u0438\u0434\u043d\u043e, \u043a\u0430\u043a JavaScript \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u0438\u0435\u0440\u0430\u0440\u0445\u0438\u0438 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432 \u0438 \u0438\u043c\u0435\u0442\u044c \u043d\u0430\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u0435 \u0441\u0432\u043e\u0439\u0441\u0442 \u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439. \u0412 \u044d\u0442\u043e\u0439 \u0433\u043b\u0430\u0432\u0435 \u043c\u044b \u043f\u043e\u043f\u044b\u0442\u0430\u0435\u043c\u0441\u044f \u043e\u0431\u044a\u044f\u0441\u043d\u0438\u0442\u044c \u0432\u0430\u043c \u044d\u0442\u043e \u043e\u0442\u043b\u0438\u0447\u0430\u0435.", "localization_tags": ["inprogress"], "locale": "ru", "last_edit": "2015-04-22T07:23:53", "review_tags": []}], "modified": "2015-06-04T14:01:31", "label": "Detalles del modelo de objetos", "localization_tags": [], "url": "/es/docs/Web/JavaScript/Guide/Details_of_the_Object_Model", "last_edit": "2015-06-04T09:27:53", "summary": "JavaScript es un lenguaje basado en objetos que en lugar de estar basado en clases, se basa en prototipos. Debido a esta diferencia, puede resultar menos evidente que JavaScript te permite crear jerarqu\u00edas de objetos y herencia de propiedades y de sus valores. Este cap\u00edtulo intenta clarificar estos puntos.", "sections": [{"id": "Quick_Links", "title": "JavaScript Tutorials: JavaScript Guide Introduction Grammar and types Control flow and error handling Loops and iteration Functions Expressions and operators Numbers and dates Text formatting Regular expressions Indexed collections Keyed collections Working with objects Details of the object model Iterators and generators Meta programming Introductory JavaScript basics JavaScript technologies overview Introduction to Object Oriented JavaScript Intermediate A re-introduction to JavaScript JavaScript data structures Equality comparisons and sameness Closures Advanced Inheritance and the prototype chain Strict mode JavaScript typed arrays SIMD types Memory Management Concurrency model and Event Loop References: Built-in objects Objetos globales Array ArrayBuffer [Traducir] Boolean DataView [Traducir] Date Error EvalError [Traducir] Float32Array [Traducir] Float64Array [Traducir] Function Generator [Traducir] GeneratorFunction [Traducir] Infinity Int16Array [Traducir] Int32Array [Traducir] Int8Array [Traducir] InternalError [Traducir] Intl [Traducir] Intl.Collator [Traducir] Intl.DateTimeFormat [Traducir] Intl.NumberFormat Iterator [Traducir] JSON Map Math NaN Number Object ParallelArray [Traducir] Promesa Proxy [Traducir] RangeError [Traducir] ReferenceError [Traducir] Reflect [Traducir] RegExp SIMD [Traducir] SIMD.float32x4 [Traducir] SIMD.float64x2 [Traducir] SIMD.int16x8 [Traducir] SIMD.int32x4 [Traducir] SIMD.int8x16 [Traducir] Set [Traducir] StopIteration [Traducir] String Symbol [Traducir] SyntaxError [Traducir] TypeError TypedArray [Traducir] URIError [Traducir] Uint16Array [Traducir] Uint32Array [Traducir] Uint8Array [Traducir] Uint8ClampedArray [Traducir] WeakMap WeakSet [Traducir] decodeURI() decodeURIComponent encodeURI encodeURIComponent escape() [Traducir] eval isFinite() isNaN null [Traducir] parseFloat parseInt() undefined unescape() [Traducir] uneval() [Traducir] Expressions & operators Operadores Aritm\u00e9ticos Array comprehensions [Traducir] Assignment operators [Traducir] Bitwise operators [Traducir] Comma operator [Traducir] Comparison operators [Traducir] Conditional (ternary) Operator [Traducir] Destructuring assignment [Traducir] Expression closures [Traducir] Generator comprehensions [Traducir] Operador de agrupaci\u00f3n Legacy generator function expression [Traducir] Logical Operators [Traducir] Object initializer [Traducir] Precedencia de operadores Miembros Operador de propagaci\u00f3n class expression [Traducir] operador delete function function* expression [Traducir] in instanceof new super this typeof void yield [Traducir] yield* [Traducir] Statements & declarations Sentencias Legacy generator function [Traducir] block break class [Traducir] const continue debugger [Traducir] do...while empty [Traducir] export for for each...in for...in for...of [Traducir] function function* if...else import [Traducir] label let [Traducir] return switch throw try...catch var while with [Traducir] Functions Funciones Objeto arguments Arrow functions [Traducir] Default parameters [Traducir] Method definitions [Traducir] Rest parameters [Traducir] get setter [Traducir] Classes Classes constructor [Traducir] extends [Traducir] static Misc Lexical grammar JavaScript data structures Enumerability and ownership of properties Iteration protocols Strict mode Transitioning to strict mode Template strings Deprecated features New in JavaScript Novedades en JavaScript ECMAScript 5 support in Mozilla [Traducir] ECMAScript 6 support in Mozilla ECMAScript 7 support in Mozilla [Traducir] Firefox JavaScript changelog [Traducir] New in JavaScript 1.1 [Traducir] New in JavaScript 1.2 [Traducir] New in JavaScript 1.3 [Traducir] New in JavaScript 1.4 [Traducir] Novedades en Javascript 1.5 Novedades en JavaScript 1.6 Novedades en JavaScript 1.7 Novedades en JavaScript 1.8 New in JavaScript 1.8.1 [Traducir] Novedades en JavaScript 1.8.5 Documentation: Useful lists All pages index Methods index Properties index Pages tagged \"JavaScript\" Contribute JavaScript doc status The MDN project"}, {"id": "Lenguajes_basados_en_clases_vs._basados_en_prototipos", "title": "Lenguajes basados en clases vs. basados en prototipos"}, {"id": "Definicion_de_una_clase", "title": "Definicion de una clase"}, {"id": "Subclases_y_herencia", "title": "Subclases y herencia"}, {"id": "A.C3.B1adir_y_quitar_propiedades", "title": "A\u00f1adir y quitar propiedades"}, {"id": "Resumen_de_las_diferencias", "title": "Resumen de las diferencias"}, {"id": "Ejemplo.3A_employee", "title": "Ejemplo: employee"}, {"id": "Creacion_de_la_jerarquia", "title": "Creacion de la jerarquia"}, {"id": "Propiedades_de_objetos", "title": "Propiedades de objetos"}, {"id": "Herencia_de_propiedades", "title": "Herencia de propiedades"}, {"id": "A.C3.B1adir_propiedades", "title": "A\u00f1adir propiedades"}, {"id": "Constructores_mas_flexibles", "title": "Constructores mas flexibles"}, {"id": "Mas_sobre_herencia_de_propiedades", "title": "Mas sobre herencia de propiedades"}, {"id": "Valores_locales_frente_a_valores_heredados", "title": "Valores locales frente a valores heredados"}, {"id": "Como_determinar_las_relaciones_entre_instancias", "title": "Como determinar las relaciones entre instancias"}, {"id": "Informacion_global_en_los_constructores", "title": "Informacion global en los constructores"}, {"id": "No_existe_herencia_multiple", "title": "No existe herencia multiple"}], "id": 79629, "review_tags": []}