{"json_modified": "2016-07-06T21:06:48.424967", "uuid": "c53ab7ec-6092-405d-b7cc-2ab13f90bab5", "title": "Control flow and error handling", "url": "/zh-TW/docs/Web/JavaScript/Obsolete_Pages/Control_flow_and_error_handling", "tags": [], "translations": [{"uuid": "96551419-2b20-4bef-a7c9-99cbd41810bd", "title": "Control flow and error handling", "url": "/en-US/docs/Web/JavaScript/Guide/Control_flow_and_error_handling", "tags": ["Guide", "Beginner", "beginner", "JavaScript"], "summary": "JavaScript supports a compact set of statements, specifically control flow statements, that you can use to incorporate a great deal of interactivity in your application. This chapter provides an overview of these statements.", "localization_tags": [], "locale": "en-US", "last_edit": "2016-06-07T07:01:39", "review_tags": []}, {"uuid": "dc6d5862-e72f-4252-8fa8-2a53dbffa95f", "title": "\u30d6\u30ed\u30c3\u30af\u6587", "url": "/ja/docs/Web/JavaScript/Guide/Block_Statement", "tags": [], "summary": "JavaScript \u306f\u3001Web \u30da\u30fc\u30b8\u306b\u591a\u304f\u306e\u30a4\u30f3\u30bf\u30e9\u30af\u30c6\u30a3\u30d3\u30c6\u30a3\u3092\u7d44\u307f\u5165\u308c\u308b\u3053\u3068\u3092\u53ef\u80fd\u306b\u3059\u308b\u3001\u30b3\u30f3\u30d1\u30af\u30c8\u306a\u6587\u306e\u30bb\u30c3\u30c8\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u307e\u3059\u3002\u3053\u306e\u7ae0\u3067\u306f\u3001\u3053\u308c\u3089\u306e\u6587\u306e\u6982\u8981\u3092\u8aac\u660e\u3057\u307e\u3059\u3002", "localization_tags": [], "locale": "ja", "last_edit": "2015-08-25T21:38:52", "review_tags": []}, {"uuid": "c140f074-d055-456a-adb6-4e5f86c03bf7", "title": "Kontrollfluss und Fehlerbehandlung", "url": "/de/docs/Web/JavaScript/Guide/Kontrollfluss_und_Fehlerbehandlung", "tags": ["Guide", "Beginner", "JavaScript"], "summary": "JavaScript supports a compact set of statements, specifically control flow statements, that you can use to incorporate a great deal of interactivity in your application. This chapter provides an overview of these statements.", "localization_tags": ["inprogress"], "locale": "de", "last_edit": "2015-04-22T04:33:43", "review_tags": []}, {"uuid": "398caffc-d06f-4ce7-93ad-06a02ae9f061", "title": "\u041f\u043e\u0440\u044f\u0434\u043e\u043a \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0438 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0430 \u043e\u0448\u0438\u0431\u043e\u043a", "url": "/ru/docs/Web/JavaScript/Guide/Control_flow_and_error_handling", "tags": ["Guide", "JavaScript"], "summary": "Editorial review completed.", "localization_tags": [], "locale": "ru", "last_edit": "2015-07-07T02:41:34", "review_tags": []}, {"uuid": "5b63278c-aaaf-4029-bbd8-164d5973601b", "title": "\u6d41\u7a0b\u63a7\u5236\u4e0e\u9519\u8bef\u5904\u7406", "url": "/zh-CN/docs/Web/JavaScript/Guide/Control_flow_and_error_handling", "tags": ["\u6307\u5357", "\u8bed\u53e5", "JavaScript"], "summary": "JavaScript\u00a0\u8bed\u53e5\u7b80\u6d01\u7075\u6d3b\u800c\u53c8\u7d27\u51d1\uff0c\u7279\u522b\u662f\u63a7\u5236\u6d41\u8bed\u53e5\uff0c\u4f60\u53ef\u4ee5\u7528\u5b83\u6784\u5efa\u7ed3\u5408\u4ea4\u4e92\u5f0f\u7684\u5e94\u7528\u7a0b\u5e8f\u3002\u672c\u7ae0\u8282\u6211\u4eec\u5c06\u5e26\u6765\u5173\u4e8eJavaScript\u8bed\u53e5\u7684\u4e00\u4e9b\u6982\u89c8\u3002", "localization_tags": ["inprogress"], "locale": "zh-CN", "last_edit": "2016-06-29T18:22:25", "review_tags": ["technical", "editorial"]}, {"uuid": "74d481d2-1fb3-4f6d-b834-644b4cb39869", "title": "Contr\u00f4le du flux d'instructions et gestion des erreurs", "url": "/fr/docs/Web/JavaScript/Guide/Contr%C3%B4le_du_flux_Gestion_des_erreurs", "tags": ["Guide", "D\u00e9butant", "JavaScript"], "summary": "JavaScript supporte nativement un ensemble d'instructions. Ces instructions permettent de d\u00e9finir les logiques des algorithmes, le flux des informations, etc. Ce chapitre fournit un aper\u00e7u sur le fonctionnement de ces diff\u00e9rentes instructions JavaScript.", "localization_tags": [], "locale": "fr", "last_edit": "2016-06-07T09:52:09", "review_tags": []}, {"uuid": "c332e7ab-7ecf-403d-9451-e6da6c5d6fcf", "title": "Control flow and error handling", "url": "/bn-BD/docs/Web/JavaScript/Guide/Control_flow_and_error_handling", "tags": ["JavaScript"], "summary": "JavaScript supports a compact set of statements, specifically control flow statements, that you can use to incorporate a great deal of interactivity in your application. This chapter provides an overview of these statements.", "localization_tags": ["inprogress"], "locale": "bn-BD", "last_edit": "2015-04-26T05:10:21", "review_tags": []}, {"uuid": "3e94c816-2d51-4327-9c32-d5218058ab4d", "title": "Ifadeler (Kontrol Akisi)", "url": "/tr/docs/Web/JavaScript/Guide/Ifadeler", "tags": ["Guide", "Beginner", "JavaScript"], "summary": "JavaScript kompakt bir statement setini destekler,yani \u00f6zellikle birlikte kullan\u0131m\u0131nda uygulaman\u0131za b\u00fcy\u00fck \u00f6l\u00e7\u00fcde interaktivite sa\u011flayacak olan kontrol ak\u0131\u015f\u0131 statementlar\u0131.Bu b\u00f6l\u00fcm bu statementlar\u0131 genel anlamda inceler.", "localization_tags": ["inprogress"], "locale": "tr", "last_edit": "2015-12-25T12:49:58", "review_tags": []}, {"uuid": "87186bf3-b751-4b66-8736-dd1d45da9a6f", "title": "Statements (Control Flow)", "url": "/th/docs/Web/JavaScript/Guide/Statements", "tags": [], "summary": "\u0e08\u0e32\u0e27\u0e32\u0e2a\u0e04\u0e23\u0e34\u0e1b\u0e15\u0e4c\u0e23\u0e2d\u0e07\u0e23\u0e31\u0e1a\u0e0a\u0e38\u0e14\u0e04\u0e33\u0e2a\u0e31\u0e48\u0e07\u0e02\u0e19\u0e32\u0e14\u0e22\u0e48\u0e2d\u0e21 \u0e0b\u0e36\u0e48\u0e07\u0e2a\u0e48\u0e27\u0e19\u0e43\u0e2b\u0e0d\u0e48\u0e40\u0e1b\u0e47\u0e19\u0e04\u0e33\u0e2a\u0e31\u0e48\u0e07\u0e04\u0e27\u0e1a\u0e04\u0e38\u0e21\u0e17\u0e35\u0e48\u0e04\u0e38\u0e13\u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16\u0e43\u0e0a\u0e49\u0e2a\u0e23\u0e49\u0e32\u0e07\u0e1b\u0e0f\u0e34\u0e2a\u0e31\u0e21\u0e1e\u0e31\u0e19\u0e18\u0e4c\u0e43\u0e19\u0e2b\u0e19\u0e49\u0e32\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e14\u0e49\u0e2b\u0e25\u0e32\u0e01\u0e2b\u0e25\u0e32\u0e22 \u0e42\u0e14\u0e22\u0e43\u0e19\u0e1a\u0e17\u0e19\u0e35\u0e49\u0e08\u0e30\u0e01\u0e25\u0e48\u0e32\u0e27\u0e16\u0e36\u0e07\u0e20\u0e32\u0e1e\u0e23\u0e27\u0e21\u0e02\u0e2d\u0e07\u0e04\u0e33\u0e2a\u0e31\u0e48\u0e07\u0e40\u0e2b\u0e25\u0e48\u0e32\u0e19\u0e35\u0e49", "localization_tags": [], "locale": "th", "last_edit": "2014-04-07T18:04:58", "review_tags": []}, {"uuid": "82617625-0873-4aa4-91c5-9cfe1c414b0a", "title": "Controle de Fluxo e Manipula\u00e7\u00e3o de Erro", "url": "/pt-BR/docs/Web/JavaScript/Guide/Declara%C3%A7%C3%B5es", "tags": ["tratamento de exce\u00e7\u00f5es", "Guia", "declara\u00e7\u00f5es", "declara\u00e7\u00f5es de controle", "JavaScript", "Iniciante"], "summary": "O JavaScript suporta um conjunto compacto de declara\u00e7\u00f5es, especificamente de fluxo de controle, que voc\u00ea pode utilizar para atribuir uma grande interatividade a p\u00e1ginas web. Este cap\u00edtulo fornece uma vis\u00e3o geral destas declara\u00e7\u00f5es.", "localization_tags": [], "locale": "pt-BR", "last_edit": "2016-05-31T06:44:43", "review_tags": []}, {"uuid": "9dc76b76-a358-49ad-94e1-6bdd2d741b07", "title": "Control de flujo y manejo de errores", "url": "/es/docs/Web/JavaScript/Guide/Control_de_flujo_y_manejo_de_errores", "tags": ["Promesas", "try-catch", "Promises", "Guia", "Manejo de errores", "JavaScript", "Principiantes", "Gu\u00eda"], "summary": "Javascript soporta un conjunto compacto de sentencias espec\u00edficas para el manejo de flujo, que pueden ser utilizadas para incorporar mayor interactividad a tus aplicaciones. Este cap\u00edtulo provee una vista general de las mismas.", "localization_tags": ["inprogress"], "locale": "es", "last_edit": "2016-05-30T11:39:30", "review_tags": ["editorial"]}, {"uuid": "68fc1588-92d5-47fd-b5da-43f891e978f3", "title": "Control flow and error handling", "url": "/nl/docs/Web/JavaScript/Guide/Control_flow_and_error_handling", "tags": [], "summary": "The JavaScript reference contains exhaustive details about the statements in this chapter. The semicolon (;
) character is used to separate statements in JavaScript code.", "localization_tags": ["inprogress"], "locale": "nl", "last_edit": "2015-04-13T14:17:02", "review_tags": []}, {"uuid": "e01d68e4-6d42-4ef5-b98b-292d012f8c8a", "title": "\uc81c\uc5b4 \ud750\ub984\uacfc \uc5d0\ub7ec \ucc98\ub9ac", "url": "/ko/docs/Web/JavaScript/Guide/Control_flow_and_error_handling", "tags": [], "summary": "JavaScript\ub294 \uc751\uc6a9 \ud504\ub85c\uadf8\ub7a8\uc5d0\uc11c \ub9ce\uc740 \uc0c1\ud638\uc791\uc6a9\uc744 \ud1b5\ud569\ud558\ub294\ub370 \uc0ac\uc6a9\ud560 \uc218 \uc788\ub294 \uc77c\ub828\uc758 \ubb38\uc5d0\uc11c \ud2b9\ud788, \uc81c\uc5b4 \ud750\ub984 \ubb38\uc744 \uc9c0\uc6d0\ud569\ub2c8\ub2e4. \uc774 \uc7a5\uc5d0\uc11c\ub294 \uc774\ub7ec\ud55c \ubb38\uc758 \uac1c\uc694\ub97c \uc81c\uacf5\ud569\ub2c8\ub2e4.", "localization_tags": ["inprogress"], "locale": "ko", "last_edit": "2015-06-11T03:08:35", "review_tags": []}, {"uuid": "cc0481e9-6ebd-467a-8af8-f8ce2e1b56a6", "title": "Control flow and error handling", "url": "/my/docs/Web/JavaScript/Guide/Control_flow_and_error_handling", "tags": ["Beginner", "JavaScript", "Myanmar", "Guide"], "summary": "JavaScript supports a compact set of statements, specifically control flow statements, that you can use to incorporate a great deal of interactivity in your application. This chapter provides an overview of these statements.", "localization_tags": ["inprogress"], "locale": "my", "last_edit": "2015-08-17T01:00:33", "review_tags": []}, {"uuid": "7119a593-47d4-49ae-aa4e-b73c8b4a628a", "title": "Kontrol Aliran dan Penanganan Error", "url": "/id/docs/Web/JavaScript/Panduan/Kontrol_Aliran_dan_Penanganan_Error", "tags": [], "summary": "Javascript menduukung satu set pernyataan ringkas, khususnya untuk mengontrol aliran pernyataan, yang dapat anda gunakan menjadikan aplikasi Anda menjadi interaktif. Bagian ini akan membahas pernayaan-pernyataan tersebut.", "localization_tags": ["inprogress"], "locale": "id", "last_edit": "2015-12-02T16:59:38", "review_tags": []}, {"uuid": "9c33ba3f-2e8e-42f3-b4e3-84303ea0c88c", "title": "Control flow and error handling", "url": "/pl/docs/Web/JavaScript/Guide/Control_flow_and_error_handling", "tags": [], "summary": "JavaScript jest j\u0119zykiem zawieraj\u0105cym w sobie szeroki wachlarz instrukcji. Cz\u0119\u015b\u0107 z nich\u00a0odnosi si\u0119 do sterowania przep\u0142ywem programu (ang. control flow)\u00a0i mo\u017ce by\u0107 pomy\u015blnie u\u017cyta w celu nadania Twojej aplikacji kolejnych poziom\u00f3w interaktywno\u015bci. W rozdziale tym om\u00f3wimy te instrukcje.", "localization_tags": ["inprogress"], "locale": "pl", "last_edit": "2016-01-07T04:42:22", "review_tags": []}], "modified": "2016-07-06T21:05:52", "label": "Control flow and error handling", "localization_tags": ["inprogress"], "locale": "zh-TW", "id": 188036, "last_edit": "2016-07-06T21:05:44", "summary": "JavaScript supports a compact set of statements, specifically control flow statements, that you can use to incorporate a great deal of interactivity in your application. This chapter provides an overview of these statements.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Block_statement", "title": "Block statement"}, {"id": "Example", "title": null}, {"id": "Conditional_statements", "title": "Conditional statements"}, {"id": "if...else_statement", "title": null}, {"id": "Falsy_values", "title": "Falsy values"}, {"id": "Example_2", "title": null}, {"id": "switch_statement", "title": null}, {"id": "Example_3", "title": null}, {"id": "Exception_handling_statements", "title": "Exception handling statements"}, {"id": "Exception_types", "title": "Exception types"}, {"id": "throw_statement", "title": null}, {"id": "try...catch_statement", "title": null}, {"id": "The_catch_Block", "title": "The "}, {"id": "The_finally_block", "title": "The "}, {"id": "Nesting_try...catch_Statements", "title": "Nesting try...catch statements"}, {"id": "Utilizing_Error_objects", "title": "Utilizing "}, {"id": "Promises", "title": "Promises"}, {"id": "Loading_an_image_with_XHR", "title": "Loading an image with XHR"}], "slug": "Web/JavaScript/Obsolete_Pages/Control_flow_and_error_handling", "review_tags": []}