{"json_modified": "2015-07-18T08:58:33.373822", "slug": "Web/JavaScript/Referencia/Operadores/Comparison_Operators", "tags": [], "locale": "es", "title": "Operadores de Comparaci\u00f3n", "translations": [{"title": "\u6bd4\u8f03\u6f14\u7b97\u5b50", "url": "/ja/docs/Web/JavaScript/Reference/Operators/Comparison_Operators", "tags": [], "summary": "\u6bd4\u8f03\u6f14\u7b97\u5b50 (Comparison operator) \u306e\u30aa\u30da\u30e9\u30f3\u30c9\u306f\u3001\u6570\u5024\u306b\u3082\u6587\u5b57\u5217\u306b\u3082\u306a\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u6587\u5b57\u5217\u306f\u3001Unicode \u306e\u5024\u3092\u7528\u3044\u3001\u6a19\u6e96\u306e\u8f9e\u66f8\u306b\u57fa\u3065\u3044\u3066\u6bd4\u8f03\u3055\u308c\u307e\u3059\u3002", "localization_tags": [], "locale": "ja", "last_edit": "2015-04-15T05:51:52", "review_tags": []}, {"title": "Comparison operators", "url": "/en-US/docs/Web/JavaScript/Reference/Operators/Comparison_Operators", "tags": ["Operator", "JavaScript"], "summary": "JavaScript has both strict and type\u2013converting comparisons. A strict comparison (e.g., ===) is only true if the operands are of the same type. The more commonly used abstract comparison (e.g. ==) converts the operands to the same Type before making the comparison. For relational abstract comparisons (e.g., <=), the operands are first converted to primitives, then to the same type, before comparison.", "localization_tags": [], "locale": "en-US", "last_edit": "2015-07-14T02:40:04", "review_tags": []}, {"title": "Op\u00e9rateurs de comparaison", "url": "/fr/docs/Web/JavaScript/Reference/Op%C3%A9rateurs/Op%C3%A9rateurs_de_comparaison", "tags": ["R\u00e9f\u00e9rence", "Reference", "Operator", "JavaScript"], "summary": "JavaScript poss\u00e8de des op\u00e9rateurs de comparaisons stricts et des op\u00e9rateurs de comparaisons qui effectuent des conversions. Une comparaison strict (ex. : ===) ne sera vraie que si les deux op\u00e9randes sont du m\u00eame type. La comparaison d'\u00e9galit\u00e9 faible (==) convertira les deux op\u00e9randes en un m\u00eame type avant d'effectuer la comparaison. Pour les comparaisons relationnelles (ex. : <=), les op\u00e9randes sont tout d'abord converties en valeurs, puis en valeurs du m\u00eame type, enfin la comparaison est effectu\u00e9e.", "localization_tags": [], "locale": "fr", "last_edit": "2015-04-11T13:28:10", "review_tags": []}, {"title": "Operatory por\u00f3wnania", "url": "/pl/docs/Web/JavaScript/Referencje/Operatory/Operatory_por%C3%B3wnania", "tags": ["Operator", "JavaScript"], "summary": "Operandy posiadaj\u0105 warto\u015b\u0107 liczbow\u0105 lub \u0142a\u0144cucha znak\u00f3w. \u0141a\u0144cuchy znak\u00f3w s\u0105 por\u00f3wnywane w oparciu o zasady pisowni, u\u017cywaj\u0105 warto\u015bci Unicode.", "localization_tags": ["inprogress"], "locale": "pl", "last_edit": "2015-04-25T03:05:19", "review_tags": []}, {"title": "\u6bd4\u8f83\u64cd\u4f5c\u7b26", "url": "/zh-CN/docs/Web/JavaScript/Reference/Operators/Comparison_Operators", "tags": ["\u6bd4\u8f83\u64cd\u4f5c\u7b26", "\u4e25\u683c\u6bd4\u8f83\u64cd\u4f5c\u7b26"], "summary": "JavaScript \u6709\u4e24\u79cd\u6bd4\u8f83\u65b9\u5f0f\uff1a\u4e25\u683c\u6bd4\u8f83\u8fd0\u7b97\u7b26\u548c\u8f6c\u6362\u7c7b\u578b\u6bd4\u8f83\u8fd0\u7b97\u7b26\u3002\u5bf9\u4e8e\u4e25\u683c\u6bd4\u8f83\u8fd0\u7b97\u7b26\uff08\u4e09\u4e2a =\uff09\u6765\u8bf4\uff0c\u4e3ature\u7684\u60c5\u51b5\u662f\u4ec5\u5f53\u4e24\u4e2a\u64cd\u4f5c\u6570\u62e5\u6709\u76f8\u540c\u7684\u7c7b\u578b\uff0c\u800c\u5bf9\u4e8e\u88ab\u5e7f\u6cdb\u4f7f\u7528\u7684\u6bd4\u8f83\u8fd0\u7b97\u7b26\uff08\u4e24\u4e2a\u00a0=\uff09\u6765\u8bf4\uff0c\u4f1a\u5728\u8fdb\u884c\u6bd4\u8f83\u4e4b\u524d\uff0c\u5c06\u4e24\u4e2a\u64cd\u4f5c\u6570\u8f6c\u6362\u6210\u76f8\u540c\u7684\u7c7b\u578b\u3002\u5bf9\u4e8e\u5173\u7cfb\u8fd0\u7b97\u7b26\uff08\u4e24\u4e2a==\uff09\u6765\u8bf4\uff0c\u4f1a\u5148\u5c06\u64cd\u4f5c\u6570\u8f6c\u4e3a\u539f\u59cb\u503c\uff0c\u5f85\u4ed6\u4eec\u7c7b\u578b\u76f8\u540c\uff0c\u518d\u8fdb\u884c\u6bd4\u8f83\u8fd0\u7b97\u3002", "localization_tags": [], "locale": "zh-CN", "last_edit": "2015-05-07T03:30:40", "review_tags": []}, {"title": "\u041e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u044b \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044f", "url": "/ru/docs/Web/JavaScript/Reference/Operators/%D0%9E%D0%BF%D0%B5%D1%80%D0%B0%D1%82%D0%BE%D1%80%D1%8B_%D1%81%D1%80%D0%B0%D0%B2%D0%BD%D0%B5%D0%BD%D0%B8%D1%8F", "tags": ["\u041e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u044b", "JavaScript"], "summary": "\u0412 JavaScript \u0438\u043c\u0435\u044e\u0442\u0441\u044f \u043a\u0430\u043a \u0441\u0442\u0440\u043e\u0433\u0438\u0435 \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044f, \u0442\u0430\u043a \u0438 \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044f \u0441 \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u0442\u0438\u043f\u0430 \u043e\u043f\u0435\u0440\u0430\u043d\u0434\u043e\u0432. \u0421\u0442\u0440\u043e\u0433\u0438\u0435 \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044f (\u043a \u043f\u0440\u0438\u043c\u0435\u0440\u0443, ===) \u0438\u0441\u0442\u0438\u043d\u043d\u044b \u0442\u043e\u043b\u044c\u043a\u043e \u0432 \u0442\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435, \u0435\u0441\u043b\u0438 \u0442\u0438\u043f\u044b \u0441\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u0435\u043c\u044b\u0445 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439 \u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u044b\u043c\u0438 (\u043a \u043f\u0440\u0438\u043c\u0435\u0440\u0443: string-string, number-number). \u041e\u0434\u043d\u0430\u043a\u043e, \u0447\u0430\u0449\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442\u0441\u044f \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044f \u0441 \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u0442\u0438\u043f\u043e\u0432 (\u043a \u043f\u0440\u0438\u043c\u0435\u0440\u0443, ==). \u0422\u0430\u043a\u043e\u0439 \u0442\u0438\u043f \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044f, \u043f\u0435\u0440\u0435\u0434 \u0442\u0435\u043c \u043a\u0430\u043a \u043d\u0435\u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0435, \u043f\u0440\u0438\u0432\u043e\u0434\u0438\u0442 \u043e\u043f\u0435\u0440\u0430\u043d\u0434\u044b \u043a \u043e\u0434\u043d\u043e\u043c\u0443 \u0442\u0438\u043f\u0443. \u0412 \u0441\u043b\u0443\u0447\u0430\u0435 \u0436\u0435, \u0430\u0431\u0441\u0442\u0440\u0430\u043a\u0442\u043d\u043e\u0433\u043e \u0440\u0435\u043b\u044f\u0446\u0438\u043e\u043d\u043d\u043e\u0433\u043e \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044f, \u043e\u043f\u0435\u0440\u0430\u043d\u0434\u044b \u0441\u043f\u0435\u0440\u0432\u0430 \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u0443\u044e\u0442\u0441\u044f \u0432 \u043f\u0440\u0438\u043c\u0438\u0442\u0438\u0432\u044b, \u0437\u0430\u0442\u0435\u043c \u043f\u0440\u0438\u0432\u043e\u0434\u044f\u0442\u0441\u044f \u043a \u043e\u0434\u043d\u043e\u043c\u0443 \u0442\u0438\u043f\u0443, \u0438 \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e \u0441\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u044e\u0442\u0441\u044f.", "localization_tags": [], "locale": "ru", "last_edit": "2015-07-08T19:30:55", "review_tags": ["editorial"]}, {"title": "Vergleichsoperatoren", "url": "/de/docs/Web/JavaScript/Reference/Operators/Vergleichsoperatoren", "tags": [], "summary": "JavaScript kennt sowohl den strikten als auch typ-konvertierenden Vergleich. Ein strikter Vergleich (z.B. ===) ist nur wahr bei Operanden gleichen Typs. Der h\u00e4ufiger angewandte\u00a0abstrakte Vergleich (z.B. ==) wandelt die Operanden in den selben Typ, bevor verglichen wird.\u00a0F\u00fcr relationale abstrakte Vergleiche (z.B. <=) werden die Operanden vor dem Vergleich zuerst in elementare\u00a0Datentypen konvertiert, dann in den gleichen Typ umgewandelt.", "localization_tags": ["inprogress"], "locale": "de", "last_edit": "2015-07-13T13:57:30", "review_tags": []}], "modified": "2015-07-18T08:58:31", "label": "Operadores de Comparaci\u00f3n", "localization_tags": ["inprogress"], "url": "/es/docs/Web/JavaScript/Referencia/Operadores/Comparison_Operators", "last_edit": "2015-07-18T08:58:25", "summary": "JavaScript has both strict and type\u2013converting comparisons. A strict comparison (e.g., ===) is only true if the operands are of the same type. The more commonly used abstract comparison (e.g. ==) converts the operands to the same Type before making the comparison. For relational abstract comparisons (e.g., <=), the operands are first converted to primitives, then to the same type, before comparison.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Equality_operators", "title": "Equality operators"}, {"id": "Equality_()", "title": null}, {"id": "Syntax", "title": "Syntax"}, {"id": "Examples", "title": "Examples"}, {"id": "Inequality_(!)", "title": null}, {"id": "Syntax_2", "title": "Syntax"}, {"id": "Examples_2", "title": "Examples"}, {"id": "Identity_strict_equality_()", "title": null}, {"id": "Syntax_3", "title": "Syntax"}, {"id": "Examples_3", "title": "Examples"}, {"id": "Non-identity_strict_not_equal_(!)", "title": null}, {"id": "Syntax_4", "title": "Syntax"}, {"id": "Examples_4", "title": "Examples"}, {"id": "Relational_operators", "title": "Relational operators"}, {"id": "Greater_than_operator_(>)", "title": null}, {"id": "Syntax_5", "title": "Syntax"}, {"id": "Examples_5", "title": "Examples"}, {"id": "Greater_than_or_equal_operator_(>)", "title": null}, {"id": "Syntax_6", "title": "Syntax"}, {"id": "Examples_6", "title": "Examples"}, {"id": "Less_than_operator_(<)", "title": null}, {"id": "Syntax_7", "title": "Syntax"}, {"id": "Examples_7", "title": "Examples"}, {"id": "Less_than_or_equal_operator_(<)", "title": null}, {"id": "Syntax_8", "title": "Syntax"}, {"id": "Examples_8", "title": "Examples"}, {"id": "Using_the_Equality_Operators", "title": "Using the Equality Operators"}, {"id": "Specifications", "title": "Specifications"}, {"id": "Browser_compatibility", "title": "Browser compatibility"}, {"id": "See_also", "title": "See also"}], "id": 157863, "review_tags": []}