{"json_modified": "2015-04-26T06:23:50.598937", "slug": "Web/JavaScript/Referencia/Classes/constructor", "tags": [], "locale": "ca", "title": "constructor", "translations": [{"title": "constructor", "url": "/en-US/docs/Web/JavaScript/Reference/Classes/constructor", "tags": ["ECMAScript6", "Experimental", "Classes", "Exp\u00e9rimental", "JavaScript"], "summary": "The constructor
method is a special method for creating and initializing an object created with a class
.", "localization_tags": [], "locale": "en-US", "last_edit": "2015-04-08T04:32:36", "review_tags": []}, {"title": "constructor", "url": "/fr/docs/Web/JavaScript/Reference/Classes/constructor", "tags": ["Reference", "R\u00e9ference", "Experimental", "R\u00e9f\u00e9rence", "Exp\u00e9rimental", "JavaScript", "ECMAScript6"], "summary": "Le mot-cl\u00e9 constructor
d\u00e9finit une m\u00e9thode qui est utilis\u00e9e pour cr\u00e9er et initialiser un objet lorsqu'on utilise le mot cl\u00e9 class
.", "localization_tags": [], "locale": "fr", "last_edit": "2015-04-08T12:24:07", "review_tags": []}, {"title": "constructor", "url": "/ja/docs/Web/JavaScript/Reference/Classes/constructor", "tags": ["ECMAScript6", "Classes", "Class", "JavaScript"], "summary": "\u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30bf\u30fc\u306f\u30af\u30e9\u30b9\u3067\u4f5c\u3089\u308c\u305f\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u751f\u6210\u3068\u521d\u671f\u5316\u306e\u305f\u3081\u306e\u7279\u5225\u306a\u30e1\u30bd\u30c3\u30c9\u3067\u3059\u3002", "localization_tags": [], "locale": "ja", "last_edit": "2015-04-18T23:05:43", "review_tags": ["editorial"]}], "modified": "2015-04-26T06:23:48", "label": "constructor", "localization_tags": [], "url": "/ca/docs/Web/JavaScript/Referencia/Classes/constructor", "last_edit": "2015-04-26T06:23:41", "summary": "El m\u00e8tode constructor
\u00e9s un m\u00e8tode especial per crear i inicialitzar un objecte creat amb una class
.", "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 Memory Management Concurrency model and Event Loop References: Built-in objects Objectes Standard Array [Translate] ArrayBuffer [Translate] Boolean DataView [Translate] Date Error EvalError [Translate] Float32Array [Translate] Float64Array [Translate] Function [Translate] Generator [Translate] GeneratorFunction [Translate] Infinity Int16Array [Translate] Int32Array [Translate] Int8Array [Translate] InternalError [Translate] Intl [Translate] Intl.Collator [Translate] Intl.DateTimeFormat [Translate] Intl.NumberFormat [Translate] Iterator [Translate] JSON Map Math NaN Number Object [Translate] ParallelArray [Translate] Promise [Translate] Proxy [Translate] RangeError [Translate] ReferenceError [Translate] Reflect [Translate] RegExp [Translate] SIMD [Translate] Set [Translate] StopIteration [Translate] String Symbol [Translate] SyntaxError [Translate] TypeError [Translate] TypedArray [Translate] URIError [Translate] Uint16Array [Translate] Uint32Array [Translate] Uint8Array [Translate] Uint8ClampedArray [Translate] WeakMap [Translate] WeakSet [Translate] decodeURI() [Translate] decodeURIComponent() [Translate] encodeURI() [Translate] encodeURIComponent() [Translate] escape() [Translate] eval() [Translate] isFinite() [Translate] isNaN() [Translate] null parseFloat() [Translate] parseInt() [Translate] undefined unescape() [Translate] uneval() [Translate] Expressions & operators Expressions and operators Operadors aritm\u00e8tics Array comprehensions [Translate] Assignment operators Operadors de bits Operador Coma Comparison operators [Translate] Operador Condicional (ternari) Destructuring assignment [Translate] Expression closures [Translate] Generator comprehensions [Translate] Operador d'agrupament Legacy generator function expression [Translate] Operadors L\u00f2gics Object initializer [Translate] Operator precedence [Translate] Property accessors [Translate] Spread operator [Translate] class expression [Translate] Operador delete function expression [Translate] function* expression [Translate] in operator [Translate] instanceof [Translate] new operator [Translate] super this [Translate] typeof L'operador void yield yield* [Translate] Statements & declarations Statements and declarations Legacy generator function [Translate] block break [Translate] class [Translate] const [Translate] continue [Translate] debugger [Translate] do...while [Translate] Buida export [Translate] for for each...in [Translate] for...in [Translate] for...of function function* [Translate] if...else import [Translate] label [Translate] let [Translate] return switch [Translate] throw [Translate] try...catch [Translate] var [Translate] while with [Translate] Functions Functions [Translate] Arguments object [Translate] Arrow functions [Translate] Default parameters [Translate] Method definitions [Translate] Rest parameters [Translate] getter [Translate] setter [Translate] Classes Classes constructor extends [Translate] 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 New in JavaScript [Translate] ECMAScript 5 support in Mozilla [Translate] ECMAScript 6 support in Mozilla [Translate] ECMAScript 7 support in Mozilla [Translate] Firefox JavaScript changelog [Translate] New in JavaScript 1.1 [Translate] New in JavaScript 1.2 [Translate] New in JavaScript 1.3 [Translate] New in JavaScript 1.4 [Translate] New in JavaScript 1.5 [Translate] New in JavaScript 1.6 [Translate] New in JavaScript 1.7 [Translate] New in JavaScript 1.8 [Translate] New in JavaScript 1.8.1 [Translate] New in JavaScript 1.8.5 [Translate] Documentation: Useful lists All pages index Methods index Properties index Pages tagged \"JavaScript\" Contribute JavaScript doc status The MDN project"}, {"id": "Resum", "title": "Resum"}, {"id": "Sintaxi", "title": "Sintaxi"}, {"id": "Descripci.C3.B3", "title": "Descripci\u00f3"}, {"id": "Exemples", "title": "Exemples"}, {"id": "Especificacions", "title": "Especificacions"}, {"id": "Compatibilitat_amb_navegadors", "title": "Compatibilitat amb navegadors"}, {"id": "Notes_espec.C3.ADfiques_per_Firefox", "title": "Notes espec\u00edfiques per Firefox"}, {"id": "Vegeu_tamb.C3.A9", "title": "Vegeu tamb\u00e9"}], "id": 146797, "review_tags": []}