{"json_modified": "2015-04-25T16:19:26.208058", "slug": "Web/JavaScript/Reference/Operators/instanceof", "tags": [], "locale": "pt-BR", "title": "instanceof", "translations": [{"title": "instanceof", "url": "/zh-CN/docs/Web/JavaScript/Reference/Operators/instanceof", "tags": [], "summary": "instanceof\u00a0\u8fd0\u7b97\u7b26\u53ef\u4ee5\u7528\u6765\u5224\u65ad\u67d0\u4e2a\u6784\u9020\u51fd\u6570\u7684prototype\u5c5e\u6027\u662f\u5426\u5b58\u5728\u53e6\u5916\u4e00\u4e2a\u8981\u68c0\u6d4b\u5bf9\u8c61\u7684\u539f\u578b\u94fe\u4e0a\u3002", "localization_tags": [], "locale": "zh-CN", "last_edit": "2015-02-27T18:52:48", "review_tags": []}, {"title": "instanceof", "url": "/en-US/docs/Web/JavaScript/Reference/Operators/instanceof", "tags": ["instanceof", "Relational Operators", "Object", "prototype", "JavaScript", "Operator"], "summary": "The instanceof operator tests whether an object has in its prototype chain the prototype property of a constructor.", "localization_tags": [], "locale": "en-US", "last_edit": "2015-04-11T10:31:38", "review_tags": []}, {"title": "Operator instanceof", "url": "/pl/docs/Web/JavaScript/Referencje/Operatory/Operator_instanceof", "tags": ["Dokumentacja_JavaScript", "JavaScript", "Dokumentacje", "Strony_wymagaj\u0105ce_dopracowania", "Wszystkie_kategorie"], "summary": "Operator instanceof zwraca true, je\u017celi okre\u015blony obiekt jest obiektem okre\u015blonego typu .", "localization_tags": [], "locale": "pl", "last_edit": "2014-07-18T08:20:30", "review_tags": []}, {"title": "instanceof", "url": "/es/docs/Web/JavaScript/Referencia/Operadores/instanceof", "tags": ["Relational Operators", "Operator", "JavaScript"], "summary": "El operador instanceof devuelve verdadero si el objeto especificado es del tipo especificado.", "localization_tags": [], "locale": "es", "last_edit": "2014-11-19T11:42:05", "review_tags": []}, {"title": "instanceof", "url": "/ja/docs/JavaScript/Reference/Operators/instanceof", "tags": [], "summary": "instanceof \u6f14\u7b97\u5b50\u306f\u3001\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u304c\u81ea\u8eab\u306e\u30d7\u30ed\u30c8\u30bf\u30a4\u30d7\u306b\u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30bf\u306e prototype \u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u6301\u3063\u3066\u3044\u308b\u304b\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002", "localization_tags": [], "locale": "ja", "last_edit": "2015-04-16T04:51:05", "review_tags": []}, {"title": "instanceof", "url": "/fr/docs/Web/JavaScript/Reference/Op%C3%A9rateurs/instanceof", "tags": ["instanceof", "Reference", "R\u00e9ference", "R\u00e9f\u00e9rence", "prototype", "JavaScript", "Operator"], "summary": "L'op\u00e9rateur instanceof permet de tester si un objet poss\u00e8de, dans sa cha\u00eene de prototype, la propri\u00e9t\u00e9 prototype d'un certain constructeur.", "localization_tags": [], "locale": "fr", "last_edit": "2015-04-11T12:59:08", "review_tags": []}], "modified": "2015-04-25T16:19:23", "label": "instanceof", "localization_tags": ["inprogress"], "url": "/pt-BR/docs/Web/JavaScript/Reference/Operators/instanceof", "last_edit": "2015-04-18T08:05:58", "summary": "O operador instanceof\u00a0testa a presen\u00e7a da fun\u00e7\u00e3o construtora no\u00a0prototype do objeto.", "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 Objetos Globais Array ArrayBuffer Boolean [Translate] DataView [Translate] Date Error [Translate] EvalError [Translate] Float32Array [Translate] Float64Array [Translate] Function 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 [Translate] Math NaN Number Object ParallelArray [Translate] Promise Proxy [Translate] RangeError [Translate] ReferenceError [Translate] Reflect [Translate] RegExp SIMD [Translate] Set StopIteration [Translate] String Symbol SyntaxError [Translate] TypeError [Translate] TypedArray [Translate] URIError [Translate] Uint16Array [Translate] Uint32Array [Translate] Uint8Array [Translate] Uint8ClampedArray [Translate] WeakMap WeakSet [Translate] decodeURI() [Translate] decodeURIComponent() [Translate] encodeURI() [Translate] encodeURIComponent() [Translate] escape() [Translate] eval() isFinite() [Translate] isNaN() null parseFloat() [Translate] parseInt() undefined unescape() [Translate] uneval() [Translate] Expressions & operators Operators Arithmetic operators [Translate] Array comprehensions Assignment operators [Translate] Bitwise operators [Translate] Operador V\u00edrgula Comparison operators [Translate] Operador Condicional Tern\u00e1rio Destructuring assignment [Translate] Expression closures [Translate] Generator comprehensions [Translate] Operador de Agrupamento Legacy generator function expression [Translate] Operadores L\u00f3gicos Object initializer [Translate] Preced\u00eancia de Operadores Property accessors [Translate] Spread operator [Translate] class expression [Translate] delete operator [Translate] function expression [Translate] function* expression [Translate] in operator [Translate] instanceof new operator [Translate] super [Translate] this [Translate] typeof void operator [Translate] yield [Translate] yield* [Translate] Statements & declarations Statements Legacy generator function [Translate] block [Translate] break class [Translate] const continue [Translate] debugger [Translate] do...while empty [Translate] export [Translate] for [Translate] for each...in [Translate] for...in [Translate] for...of [Translate] function [Translate] function* if...else [Translate] import [Translate] label (Etiqueta) let return [Translate] switch throw [Translate] try...catch var while [Translate] with [Translate] Functions Functions Arguments object [Translate] Arrow functions Default parameters [Translate] Method definitions [Translate] Rest parameters [Translate] getter [Translate] setter [Translate] Classes Classes [Translate] constructor [Translate] extends [Translate] static [Translate] 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] Suporte ao ECMAScript 6 na Mozilla 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": "Sintaxe", "title": "Sintaxe"}, {"id": "Par.C3.A2metros", "title": "Par\u00e2metros"}, {"id": "Descri.C3.A7.C3.A3o", "title": "Descri\u00e7\u00e3o"}, {"id": "instanceof_and_multiple_context_(e.g._frames_or_windows)", "title": "instanceof and multiple context (e.g. frames or windows)"}, {"id": "Examples", "title": "Examples"}, {"id": "Demonstrating_that_String_and_Date_are_of_type_Object_and_exceptional_cases", "title": "Demonstrating that String and Date are of type Object and exceptional cases"}, {"id": "Demonstrating_that_mycar_is_of_type_Car_and_type_Object", "title": "Demonstrating that mycar is of type Car and type Object"}, {"id": "Especifica.C3.A7.C3.B5es", "title": "Especifica\u00e7\u00f5es"}, {"id": "Compatibilidade_nos_navegadores", "title": "Compatibilidade nos navegadores"}, {"id": "Veja_tamb.C3.A9m", "title": "Veja tamb\u00e9m"}], "id": 147476, "review_tags": []}