{"json_modified": "2016-10-07T22:19:29.321480", "uuid": "8cd6e474-e9ea-4e35-b0cd-ea964768d3d7", "title": "if...else", "url": "/en-US/docs/Web/JavaScript/Reference/Statements/if...else", "tags": ["Statement", "JavaScript"], "translations": [{"uuid": "5ac531dc-4d50-40c4-bca4-1655bf851775", "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"]}, {"uuid": "472d816e-8976-4c06-ba24-7022e99aa1d9", "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": "2016-06-20T12:47:10", "review_tags": []}, {"uuid": "ba2f8dbf-2789-40a7-8479-0b99ab6777c3", "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": []}, {"uuid": "ac82f7af-e064-42cf-ac1f-c03d7c7933a5", "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": "2016-10-07T22:19:15", "review_tags": []}, {"uuid": "6bcf261d-2ff9-47a6-a5b4-1b58ae3a5a60", "title": "if...else", "url": "/ja/docs/Web/JavaScript/Reference/Statements/if...else", "tags": ["Statement", "JavaScript"], "summary": "if \u6587\u306f\u3001\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": "2016-05-21T06:52:08", "review_tags": []}, {"uuid": "20758a16-e826-4a07-bd19-38a839a32deb", "title": "if...else", "url": "/ko/docs/Web/JavaScript/Reference/Statements/if...else", "tags": [], "summary": "\uc9c0\uc815\ud55c \uc870\uac74\uc774 \ucc38 \uc778\uacbd\uc6b0 if\ubb38\uc740 \uad6c\ubb38\uc744 \uc2e4\ud589\ud569\ub2c8\ub2e4. \uc870\uac74\uc774 \uac70\uc9d3\uc778 \uacbd\uc6b0 \ub610 \ub2e4\ub978 \uad6c\ubb38\uc774 \uc2e4\ud589 \ub420 \uc218 \uc788\uc2b5\ub2c8\ub2e4.", "localization_tags": [], "locale": "ko", "last_edit": "2016-05-12T10:21:44", "review_tags": ["editorial"]}, {"uuid": "38f394d5-d41f-40e8-ac1a-72c85a6d64f7", "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": []}, {"uuid": "1962453a-88f6-40ce-b70c-b26d5ee9381f", "title": "if...else", "url": "/pt-BR/docs/Web/JavaScript/Reference/Statements/if...else", "tags": ["condicional", "Instru\u00e7\u00e3o", "se ent\u00e3o", "if else", "JavaScript"], "summary": "A condicional if\u00a0 \u00e9 uma estrutura\u00a0condicional que executa a afirma\u00e7\u00e3o, dentro do bloco, se determinada condi\u00e7\u00e3o for verdadeira. Se for falsa, executa as afirma\u00e7\u00f5es dentro de else.", "localization_tags": [], "locale": "pt-BR", "last_edit": "2016-02-14T19:18:15", "review_tags": []}, {"uuid": "067e037d-ea74-4a69-a6e7-a02173fee62a", "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": "2016-04-18T10:26:39", "review_tags": []}, {"uuid": "36ea0aa0-4c1e-4426-b375-5c56d8eee509", "title": "if...else", "url": "/zh-CN/docs/Web/JavaScript/Reference/Statements/if...else", "tags": [], "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", "localization_tags": [], "locale": "zh-CN", "last_edit": "2016-01-04T02:08:21", "review_tags": []}], "modified": "2016-10-07T17:03:18", "label": "if...else", "localization_tags": [], "locale": "en-US", "id": 8372, "last_edit": "2016-10-07T17:03:11", "summary": "The if statement executes a statement if a specified condition is true. If the condition is false, another statement can be executed.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Syntax", "title": "Syntax"}, {"id": "Description", "title": "Description"}, {"id": "Examples", "title": "Examples"}, {"id": "Using_if...else", "title": "Using "}, {"id": "Using_else_if", "title": "Using "}, {"id": "Assignment_within_the_conditional_expression", "title": "Assignment within the conditional expression"}, {"id": "Specifications", "title": "Specifications"}, {"id": "Browser_compatibility", "title": "Browser compatibility"}, {"id": "See_also", "title": "See also"}], "slug": "Web/JavaScript/Reference/Statements/if...else", "review_tags": []}