{"json_modified": "2015-11-03T12:29:30.826700", "slug": "Web/JavaScript/Reference/Op\u00e9rateurs/L_op\u00e9rateur_conditionnel", "tags": ["Javascript", "Op\u00e9rateur", "javascript", "JavaScript"], "locale": "fr", "title": "L'op\u00e9rateur conditionnel", "translations": [{"title": "Conditional (ternary) Operator", "url": "/en-US/docs/Web/JavaScript/Reference/Operators/Conditional_Operator", "tags": ["Javascript", "operator", "Operator", "javascript", "JavaScript"], "summary": "The conditional (ternary) operator is the only JavaScript operator that takes three operands. This operator is frequently used as a shortcut for the if
statement.", "localization_tags": [], "locale": "en-US", "last_edit": "2015-11-03T10:41:43", "review_tags": []}, {"title": "Operator warunkowy", "url": "/pl/docs/Web/JavaScript/Referencje/Operatory/Operator_warunkowy", "tags": ["JavaScript"], "summary": "Operator warunkowy jest jedynym operatorem w JavaScript, kt\u00f3ry pobiera trzy argumenty. Operator jest cz\u0119sto stosowany jako skr\u00f3cenie instrukcji if
.", "localization_tags": ["inprogress"], "locale": "pl", "last_edit": "2015-04-25T03:09:34", "review_tags": []}, {"title": "\u6761\u4ef6\u6f14\u7b97\u5b50", "url": "/ja/docs/JavaScript/Reference/Operators/Conditional_Operator", "tags": [], "summary": "\u6761\u4ef6\u6f14\u7b97\u5b50\u306f JavaScript \u3067\u306f\u552f\u4e00\u306e\u30013 \u3064\u306e\u30aa\u30da\u30e9\u30f3\u30c9\u3092\u3068\u308b\u6f14\u7b97\u5b50\u3067\u3059\u3002\u3053\u306e\u6f14\u7b97\u5b50\u306f\u3001if
\u6587\u306e\u30b7\u30e7\u30fc\u30c8\u30ab\u30c3\u30c8\u3068\u3057\u3066\u3088\u304f\u7528\u3044\u3089\u308c\u307e\u3059\u3002", "localization_tags": [], "locale": "ja", "last_edit": "2015-04-15T07:23:19", "review_tags": []}, {"title": "Operador Condicional Tern\u00e1rio", "url": "/pt-BR/docs/Web/JavaScript/Reference/Operators/Operador_Condicional", "tags": ["Operadores Condicionais", "JavaScript"], "summary": "O operador condicional (tern\u00e1rio) \u00e9 o \u00fanico operador JavaScript que possue tr\u00eas operandos. Este operador \u00e9 frequentemente usado como um atalho para a instru\u00e7\u00e3o if
.", "localization_tags": [], "locale": "pt-BR", "last_edit": "2014-12-16T09:57:02", "review_tags": []}, {"title": "Operador Condicional (ternari)", "url": "/ca/docs/Web/JavaScript/Referencia/Operadors/Conditional_Operator", "tags": [], "summary": "L'operador condicional (ternari) \u00e9s l'\u00fanic operador de JavaScript que opera amb tres operands. Aquest operador \u00e9s freq\u00fcentment usat com una simplificaci\u00f3 de la sent\u00e8ncia if
.", "localization_tags": [], "locale": "ca", "last_edit": "2015-03-09T06:26:23", "review_tags": ["technical", "editorial"]}, {"title": "\u6761\u4ef6\u8fd0\u7b97\u7b26", "url": "/zh-CN/docs/Web/JavaScript/Reference/Operators/Conditional_Operator", "tags": ["\u64cd\u4f5c\u7b26", "\u4e09\u5143", "JavaScript"], "summary": "\u6761\u4ef6\uff08\u4e09\u5143\uff09\u8fd0\u7b97\u7b26\u662f JavaScript\u00a0\u4ec5\u6709\u7684\u4f7f\u7528\u4e09\u4e2a\u64cd\u4f5c\u6570\u7684\u8fd0\u7b97\u7b26\u3002\u672c\u8fd0\u7b97\u7b26\u7ecf\u5e38\u4f5c\u4e3a\u00a0if\u00a0\u8bed\u53e5\u7684\u7b80\u77ed\u5f62\u5f0f\u6765\u4f7f\u7528\u3002
", "localization_tags": [], "locale": "zh-CN", "last_edit": "2015-10-13T22:41:51", "review_tags": []}, {"title": "Conditional (ternary) Operator", "url": "/es/docs/Web/JavaScript/Referencia/Operadores/Conditional_Operator", "tags": [], "summary": "Si la\u00a0condicion
\u00a0es true
, el operador retorna\u00a0el valor\u00a0de\u00a0expr1
; de lo contrario, \u00a0devuelve el valor\u00a0de\u00a0expr2
. Por ejemplo, para mostrar un mensaje diferente en funci\u00f3n del valor de la variable isMember,
se puede usar esta declaracion:", "localization_tags": ["inprogress"], "locale": "es", "last_edit": "2015-10-27T10:29:34", "review_tags": []}, {"title": "\u0423\u0441\u043b\u043e\u0432\u043d\u044b\u0439 (\u0442\u0435\u0440\u043d\u0430\u0440\u043d\u044b\u0439) \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440", "url": "/ru/docs/Web/JavaScript/Reference/Operators/%D0%A3%D1%81%D0%BB%D0%BE%D0%B2%D0%BD%D1%8B%D0%B9_%D0%BE%D0%BF%D0%B5%D1%80%D0%B0%D1%82%D0%BE%D1%80", "tags": [], "summary": "\u0423\u0441\u043b\u043e\u0432\u043d\u044b\u0439 (\u0442\u0435\u0440\u043d\u0430\u0440\u043d\u044b\u0439) \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440 - \u0435\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u0435\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440 \u0432 JavaScript, \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u044e\u0449\u0438\u0439 \u0442\u0440\u0438 \u043e\u043f\u0435\u0440\u0430\u043d\u0434\u0430. \u041e\u043d \u0447\u0430\u0441\u0442\u043e \u0443\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0443\u043a\u043e\u0440\u043e\u0447\u0435\u043d\u043d\u043e\u0433\u043e \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0430 \u0443\u0441\u043b\u043e\u0432\u043d\u043e\u0433\u043e \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u0430 if
.", "localization_tags": ["inprogress"], "locale": "ru", "last_edit": "2015-07-27T05:02:07", "review_tags": []}, {"title": "\uc0bc\ud56d \uc870\uac74 \uc5f0\uc0b0\uc790", "url": "/ko/docs/Web/JavaScript/Reference/Operators/Conditional_Operator", "tags": [], "summary": "\uc0bc\ud56d \uc870\uac74 \uc5f0\uc0b0\uc790(conditional ternary\u00a0operator)\u00a0\ub294 \uc138 \uac1c\uc758\u00a0\ud53c\uc5f0\uc0b0 \ud568\uc218\ub97c \ucde8\ud560 \uc218 \uc788\ub294 \uc720\uc77c\ud55c\u00a0\uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \uc5f0\uc0b0\uc790\uc774\ub2e4. \uc774 \uc5f0\uc0b0\uc790\ub294\u00a0if
\u00a0\ubb38\uc758 \ucd95\uc57d\ud615\uc73c\ub85c \ube48\ubc88\ud788 \uc0ac\uc6a9\ub41c\ub2e4.", "localization_tags": ["inprogress"], "locale": "ko", "last_edit": "2015-10-11T18:35:49", "review_tags": []}], "modified": "2015-11-03T12:29:28", "label": "L'op\u00e9rateur conditionnel", "localization_tags": [], "url": "/fr/docs/Web/JavaScript/Reference/Op%C3%A9rateurs/L_op%C3%A9rateur_conditionnel", "last_edit": "2015-11-03T12:29:22", "summary": "L'op\u00e9rateur (ternaire) conditionnel est le seul op\u00e9rateur JavaScript qui comporte trois op\u00e9randes. Cet op\u00e9rateur est fr\u00e9quemment utilis\u00e9 comme raccourci pour la d\u00e9claration de\u00a0Instructions/if...else
.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Syntaxe", "title": "Syntaxe"}, {"id": "Param\u00e8tres", "title": "Param\u00e8tres"}, {"id": "Description", "title": "Description"}, {"id": "Sp\u00e9cifications", "title": "Sp\u00e9cifications"}, {"id": "Compatibilit\u00e9_des_navigateurs", "title": "Compatibilit\u00e9 des navigateurs"}, {"id": "Voir_aussi", "title": "Voir aussi"}], "id": 39266, "review_tags": []}