{"json_modified": "2016-03-18T08:31:12.587578", "slug": "Web/JavaScript/Reference/Operators/Logical_Operators", "tags": ["operator", "Operator", "JavaScript"], "locale": "ja", "title": "\u8ad6\u7406\u6f14\u7b97\u5b50", "translations": [{"title": "Logical Operators", "url": "/en-US/docs/Web/JavaScript/Reference/Operators/Logical_Operators", "tags": ["operator", "Operator", "JavaScript"], "summary": "Logical operators are typically used with Boolean
(logical) values. When they are, they return a Boolean value. However, the &&
and ||
operators actually return the value of one of the specified operands, so if these operators are used with non-Boolean values, they may return a non-Boolean value.", "localization_tags": [], "locale": "en-US", "last_edit": "2016-01-24T23:32:40", "review_tags": []}, {"title": "Op\u00e9rateurs logiques", "url": "/fr/docs/Web/JavaScript/Reference/Op%C3%A9rateurs/Op%C3%A9rateurs_logiques", "tags": ["Reference", "R\u00e9f\u00e9rence", "operator", "JavaScript", "Operator"], "summary": "Les op\u00e9rateurs logiques sont typiquement utilis\u00e9s avec des valeurs bool\u00e9ennes (logiques)\u00a0; lorsque c'est le cas, ils renvoient une valeur bool\u00e9enne \u00e9galement. Cependant, les op\u00e9rateurs &&
et ||
renvoient en r\u00e9alit\u00e9 la valeur d'un des op\u00e9randes sp\u00e9cifi\u00e9s. Si ces op\u00e9rateurs sont utilis\u00e9s avec des valeurs non bool\u00e9ennes, ils peuvent donc \u00e9galement renvoyer une valeur non bool\u00e9enne.", "localization_tags": [], "locale": "fr", "last_edit": "2016-01-25T03:59:00", "review_tags": []}, {"title": "\u903b\u8f91\u8fd0\u7b97\u7b26", "url": "/zh-CN/docs/Web/JavaScript/Reference/Operators/Logical_Operators", "tags": [], "summary": "
\u903b\u8f91\u8fd0\u7b97\u7b26\u901a\u5e38\u7528\u4e8e\u5e03\u5c14\u578b\uff08\u903b\u8f91\uff09\u503c\uff1b\u8fd9\u79cd\u60c5\u51b5\uff0c\u5b83\u4eec\u8fd4\u56de\u4e00\u4e2a\u5e03\u5c14\u578b\u503c\u3002\u7136\u800c\uff0c&&\u548c||\u8fd0\u7b97\u7b26\u5b9e\u9645\u4e0a\u8fd4\u56de\u4e00\u4e2a\u6307\u5b9a\u64cd\u4f5c\u6570\u7684\u503c\uff0c\u56e0\u6b64\u8fd9\u4e9b\u8fd0\u7b97\u7b26\u4e5f\u7528\u4e8e\u975e\u5e03\u5c14\u578b\uff0c\u5b83\u4eec\u8fd4\u56de\u4e00\u4e2a\u975e\u5e03\u5c14\u578b\u503c\u3002", "localization_tags": [], "locale": "zh-CN", "last_edit": "2015-01-05T05:59:05", "review_tags": []}, {"title": "Operadores L\u00f3gicos", "url": "/pt-BR/docs/Web/JavaScript/Reference/Operators/Operadores_Logicos", "tags": [], "summary": "Operadores l\u00f3gicos s\u00e3o tipicamente usados com valores Booleanos
(l\u00f3gicos). Quando eles o s\u00e3o, retornam um valor booleano. Por\u00eam, os operadores &&
e ||
atualmente retornam o valor de um dos operandos especificos, ent\u00e3o seesses operadores s\u00e3ousados com valores n\u00e3o booleanos, eles podem retornar um valor n\u00e3o booleano.", "localization_tags": ["inprogress"], "locale": "pt-BR", "last_edit": "2014-11-19T11:48:56", "review_tags": []}, {"title": "Operadors L\u00f2gics", "url": "/ca/docs/Web/JavaScript/Referencia/Operadors/Logical_Operators", "tags": [], "summary": "Els operadors l\u00f2gics s'utilitzen normalment amb valors Boolean
(l\u00f2gics). En cas de serh-hi presents, retornen un valor boole\u00e0. Tot i aix\u00ed, els operadors &&
i ||
retornen el valor d'un dels operands especificats, aix\u00ed que si aquests operadors es fan servir amb valors no booleans, poden retornar un valor no boole\u00e0.", "localization_tags": [], "locale": "ca", "last_edit": "2015-03-09T06:26:23", "review_tags": []}, {"title": "\u041b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u044b", "url": "/ru/docs/Web/JavaScript/Reference/Operators/%D0%9B%D0%BE%D0%B3%D0%B8%D1%87%D0%B5%D1%81%D0%BA%D0%B8%D0%B5_%D0%BE%D0%BF%D0%B5%D1%80%D0%B0%D1%82%D0%BE%D1%80%D1%8B", "tags": [], "summary": "\u0432 \u0442\u0430\u0431\u043b\u0438\u0446\u0435 \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d\u044b \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u043e\u0432:", "localization_tags": ["inprogress"], "locale": "ru", "last_edit": "2015-07-19T05:48:29", "review_tags": []}, {"title": "Operadores l\u00f3gicos", "url": "/es/docs/Web/JavaScript/Referencia/Operadores/Operadores_l%C3%B3gicos", "tags": [], "summary": "Los operadores l\u00f3gicos se usan t\u00edpicamente con valores Boolean
. En tal caso, regresan un valor Boolean. Sin embargo, los operadores && y || regresan en realidad el valor de uno de los operandos especificados, por lo que si estos operadores se usan con valores no Boolean, posiblemente regresen un valor no Boolean.", "localization_tags": ["inprogress"], "locale": "es", "last_edit": "2015-12-14T19:42:54", "review_tags": ["editorial"]}, {"title": "Logische Operatoren", "url": "/de/docs/Web/JavaScript/Reference/Operators/Logische_Operatoren", "tags": [], "summary": "Logische Operatoren werden typischerweise im Zusammenhang mit\u00a0\u00a0Boolean
(logischen) Werten verwendet. Die Operatoren\u00a0&& (Logisches UND) und || (Logisches ODER) geben dabei\u00a0den Wert von einem der Operanden zur\u00fcck. Sind die Operanden mit nicht-booleschen Werten belegt, geben diese Operatoren entsprechend nicht-boolesche Werte zur\u00fcck.", "localization_tags": ["inprogress"], "locale": "de", "last_edit": "2016-02-04T06:09:22", "review_tags": []}], "modified": "2016-03-18T08:31:10", "label": "\u8ad6\u7406\u6f14\u7b97\u5b50", "localization_tags": [], "url": "/ja/docs/Web/JavaScript/Reference/Operators/Logical_Operators", "last_edit": "2016-03-18T08:31:02", "summary": "\u8ad6\u7406\u6f14\u7b97\u5b50 (Logical operators) \u306f\u3001\u57fa\u672c\u7684\u306b\u771f\u507d\uff08\u8ad6\u7406\uff09\u5024\u3068\u3068\u3082\u306b\u7528\u3044\u3089\u308c\u307e\u3059\u3002\u305d\u306e\u3068\u304d\u306f\u3001\u771f\u507d\u5024\u3092\u8fd4\u3057\u307e\u3059\u3002\u3057\u304b\u3057\u3001&&
\u304a\u3088\u3073 ||
\u6f14\u7b97\u5b50\u306f\u3001\u5b9f\u969b\u306b\u306f\u3001\u6307\u5b9a\u3055\u308c\u305f\u6f14\u7b97\u5bfe\u8c61\u306e\u4e00\u65b9\u3092\u8fd4\u3057\u307e\u3059\u3002\u3067\u3059\u304b\u3089\u3001\u305d\u308c\u3089\u306e\u6f14\u7b97\u5b50\u304c\u3001\u771f\u507d\u5024\u3067\u306f\u306a\u3044\u5024\u3068\u3068\u3082\u306b\u7528\u3044\u3089\u308c\u305f\u5834\u5408\u3001\u771f\u507d\u5024\u3067\u306f\u306a\u3044\u5024\u3092\u8fd4\u3059\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002", "sections": [{"id": "Quick_Links", "title": null}, {"id": ".E6.A6.82.E8.A6.81", "title": "\u6982\u8981"}, {"id": "Description", "title": "\u8aac\u660e"}, {"id": ".E3.82.B7.E3.83.A7.E3.83.BC.E3.83.88.E3.82.B5.E3.83.BC.E3.82.AD.E3.83.83.E3.83.88.E8.A9.95.E4.BE.A1", "title": "\u30b7\u30e7\u30fc\u30c8\u30b5\u30fc\u30ad\u30c3\u30c8\u8a55\u4fa1"}, {"id": ".E8.AB.96.E7.90.86_AND_.28&&.29", "title": "\u8ad6\u7406 AND ("}, {"id": ".E8.AB.96.E7.90.86_OR_.28||.29", "title": "\u8ad6\u7406 OR ("}, {"id": ".E8.AB.96.E7.90.86_NOT_.28.21.29", "title": "\u8ad6\u7406 NOT ("}, {"id": "Conversion_rules", "title": "\u5909\u63db\u898f\u5247"}, {"id": "Converting_AND_to_OR", "title": "AND \u304b\u3089 OR \u3078\u306e\u5909\u63db"}, {"id": "Converting_OR_to_AND", "title": "OR \u304b\u3089 AND \u3078\u306e\u5909\u63db"}, {"id": "Converting_between_NOTs", "title": "NOT \u9593\u306e\u5909\u63db"}, {"id": "Removing_nested_parentheses", "title": "\u5165\u308c\u5b50\u306e\u62ec\u5f27\u3092\u524a\u9664\u3059\u308b"}, {"id": "Removing_nested_AND", "title": "\u5165\u308c\u5b50\u306e AND \u3092\u524a\u9664\u3059\u308b"}, {"id": "Removing_nested_OR", "title": "\u5165\u308c\u5b50\u306e OR \u3092\u524a\u9664\u3059\u308b"}, {"id": "Specifications", "title": "\u4ed5\u69d8"}, {"id": "Browser_compatibility", "title": "\u30d6\u30e9\u30a6\u30b6\u5b9f\u88c5\u72b6\u6cc1"}, {"id": "See_also", "title": "\u95a2\u9023\u60c5\u5831"}], "id": 1577, "review_tags": []}