{"json_modified": "2016-01-04T02:08:29.415511", "slug": "Web/JavaScript/Reference/Statements/if...else", "tags": [], "locale": "zh-CN", "title": "if...else", "translations": [{"title": "if...else", "url": "/es/docs/Web/JavaScript/Referencia/Sentencias/if...else", "tags": ["Statement", "JavaScript"], "summary": "Ejecuta una sentencia si una condici\u00f3n espec\u00edficada es evaluada como verdadera. Si la condici\u00f3n es evaluada como falsa, otra sentencia puede ser ejecutada.", "localization_tags": [], "locale": "es", "last_edit": "2014-11-19T12:01:56", "review_tags": []}, {"title": "if...else", "url": "/en-US/docs/Web/JavaScript/Reference/Statements/if...else", "tags": ["Statement", "JavaScript"], "summary": "The if statement executes a statement if a specified condition is true. If the condition is false, another statement can be executed.", "localization_tags": [], "locale": "en-US", "last_edit": "2015-11-04T14:17:07", "review_tags": []}, {"title": "if...else", "url": "/ja/docs/Web/JavaScript/Reference/Statements/if...else", "tags": [], "summary": "\u6307\u5b9a\u3055\u308c\u305f\u6761\u4ef6\u304c true \u306a\u3089\u6587\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002\u6761\u4ef6\u304c false \u306a\u3089\u3001\u3082\u3046\u4e00\u65b9\u306e\u6587\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002", "localization_tags": [], "locale": "ja", "last_edit": "2015-04-17T00:53:24", "review_tags": []}, {"title": "if...else", "url": "/pl/docs/Web/JavaScript/Referencje/Polecenia/if...else", "tags": ["Dokumentacja_JavaScript", "JavaScript", "Dokumentacje", "Wszystkie_kategorie"], "summary": "", "localization_tags": [], "locale": "pl", "last_edit": "2014-05-31T00:08:19", "review_tags": []}, {"title": "if...else", "url": "/fr/docs/Web/JavaScript/Reference/Instructions/if...else", "tags": ["R\u00e9f\u00e9rence", "Reference", "Statement", "JavaScript"], "summary": "L'instruction if
ex\u00e9cute une instruction si une condition donn\u00e9e est vraie. Si la condition n'est pas v\u00e9rifi\u00e9e, il est possible d'utiliser une autre instruction.", "localization_tags": [], "locale": "fr", "last_edit": "2015-11-08T11:51:13", "review_tags": []}, {"title": "if...else", "url": "/de/docs/Web/JavaScript/Reference/Statements/if...else", "tags": ["Statement", "JavaScript"], "summary": "Die if-Anweisung f\u00fchrt Anweisungen aus, wenn eine bestimmte Bedingung aus wahr (true
) ausgewertet werden kann. Wenn die Bedingung nicht wahr ist (false
), kann eine andere Anweisung ausgef\u00fchrt werden.", "localization_tags": [], "locale": "de", "last_edit": "2015-01-20T05:03:48", "review_tags": []}, {"title": "if...else", "url": "/ca/docs/Web/JavaScript/Referencia/Sentencies/if...else", "tags": [], "summary": "La sent\u00e8ncia if\u00a0executa una sent\u00e8ncia si una condici\u00f3 especificada \u00e9s certa. Si la condici\u00f3 \u00e9s falsa, opcionalment s'executa una declaraci\u00f3 diferent.", "localization_tags": [], "locale": "ca", "last_edit": "2015-04-26T06:30:30", "review_tags": ["technical", "editorial"]}, {"title": "if...else", "url": "/ru/docs/Web/JavaScript/Reference/Statements/if...else", "tags": [], "summary": "\u0412\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0435 if\u00a0\u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0435, \u0435\u0441\u043b\u0438 \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u043e\u0435 \u0443\u0441\u043b\u043e\u0432\u0438\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f (\u0432\u0435\u0440\u043d\u043e). \u0415\u0441\u043b\u0438 \u0443\u0441\u043b\u043e\u0432\u0438\u0435 \u043d\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f (\u043b\u043e\u0436\u043d\u043e), \u0442\u043e \u0434\u0440\u0443\u0433\u043e\u0435 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u043e.", "localization_tags": ["inprogress"], "locale": "ru", "last_edit": "2015-11-25T14:50:12", "review_tags": []}, {"title": "if...else", "url": "/pt-BR/docs/Web/JavaScript/Reference/Statements/if...else", "tags": ["if else", "condicional", "se ent\u00e3o", "Javascript", "JavaScript"], "summary": "if\u00a0 \u00e9 uma express\u00e3o condicional que executa as statements dentro do bloco\u00a0 caso true. Se false, executa as statements dentro de else.", "localization_tags": ["inprogress"], "locale": "pt-BR", "last_edit": "2015-12-23T20:13:07", "review_tags": []}], "modified": "2016-01-04T02:08:26", "label": "if...else", "localization_tags": [], "url": "/zh-CN/docs/Web/JavaScript/Reference/Statements/if...else", "last_edit": "2016-01-04T02:08:21", "summary": "\u5f53\u6307\u5b9a\u6761\u4ef6\u4e3a true \u65f6\uff0cif \u8bed\u53e5\u00a0\u4f1a\u6267\u884c\u4e00\u6761\u8bed\u53e5\u3002\u5982\u679c\u8be5\u6761\u4ef6\u4e3a false\uff0c\u5219\u6267\u884c\u53e6\u4e00\u6761\u8bed\u53e5\u3002", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Summary", "title": "\u6982\u89c8"}, {"id": "Syntax", "title": "\u8bed\u6cd5"}, {"id": "Description", "title": "\u8bf4\u660e"}, {"id": "Examples", "title": "\u793a\u4f8b"}, {"id": "Example:_Using_if...else", "title": "\u4f8b\u5b50: \u4f7f\u7528 "}, {"id": "\u4f8b\u5b50_\u4f7f\u7528_else_if", "title": "\u4f8b\u5b50: \u4f7f\u7528 "}, {"id": "Example:_Assignment_within_the_conditional_expression", "title": "\u4f8b\u5b50: \u6761\u4ef6\u8868\u8fbe\u5f0f\u4e2d\u7684\u8d4b\u503c\u8bed\u53e5"}, {"id": "\u89c4\u8303", "title": "\u89c4\u8303"}, {"id": "\u6d4f\u89c8\u5668\u517c\u5bb9\u6027", "title": "\u6d4f\u89c8\u5668\u517c\u5bb9\u6027"}, {"id": "See_also", "title": "\u76f8\u5173\u94fe\u63a5"}], "id": 135175, "review_tags": []}