{"json_modified": "2015-12-14T19:43:03.946403", "slug": "Web/JavaScript/Referencia/Operadores/Operadores_l\u00f3gicos", "tags": [], "locale": "es", "title": "Operadores l\u00f3gicos", "translations": [{"title": "\u8ad6\u7406\u6f14\u7b97\u5b50", "url": "/ja/docs/Web/JavaScript/Reference/Operators/Logical_Operators", "tags": [], "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", "localization_tags": [], "locale": "ja", "last_edit": "2015-04-15T07:57:54", "review_tags": []}, {"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": "2015-11-03T10:54:37", "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": "2015-11-04T10:23:41", "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": []}], "modified": "2015-12-14T19:43:01", "label": "Operadores l\u00f3gicos", "localization_tags": ["inprogress"], "url": "/es/docs/Web/JavaScript/Referencia/Operadores/Operadores_l%C3%B3gicos", "last_edit": "2015-12-14T19:42:54", "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.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Descripci\u00f3n", "title": "Descripci\u00f3n"}, {"id": "Evaluaci\u00f3n_contra_corto_circuitos", "title": "Evaluaci\u00f3n contra \"corto circuitos\""}, {"id": "AND_()_l\u00f3gico", "title": null}, {"id": "OR_()_l\u00f3gico", "title": null}, {"id": "Logical_NOT_(!)", "title": null}, {"id": "Reglas_de_conversi\u00f3n", "title": "Reglas de conversi\u00f3n"}, {"id": "Convertir_de_AND_a_OR", "title": "Convertir de AND a OR"}, {"id": "Convertir_de_OR_a_AND", "title": "Convertir de OR a AND"}, {"id": "Convertir_entre_operadores_NOT", "title": "Convertir entre operadores NOT"}, {"id": "Removiendo_par\u00e9ntesis_anidados", "title": "Removiendo par\u00e9ntesis anidados"}, {"id": "Removiendo_operadores_AND_anidados", "title": "Removiendo operadores AND anidados"}, {"id": "Removiendo_operadores_OR_anidados", "title": "Removiendo operadores OR anidados"}, {"id": "Especificaciones", "title": "Especificaciones"}, {"id": "Compatibilidad_entre_navegadores", "title": "Compatibilidad entre navegadores"}, {"id": "Ver_tambi\u00e9n", "title": "Ver tambi\u00e9n"}], "id": 170209, "review_tags": ["editorial"]}