{"json_modified": "2015-04-26T05:10:35.658310", "slug": "Web/JavaScript/Guide/Control_flow_and_error_handling", "tags": ["JavaScript"], "locale": "bn-BD", "title": "Control flow and error handling", "translations": [{"title": "Control flow and error handling", "url": "/en-US/docs/Web/JavaScript/Guide/Control_flow_and_error_handling", "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": [], "locale": "en-US", "last_edit": "2015-04-22T02:59:04", "review_tags": []}, {"title": "\u30d6\u30ed\u30c3\u30af\u6587", "url": "/ja/docs/Web/JavaScript/Guide/Block_Statement", "tags": [], "summary": "\u30d6\u30ed\u30c3\u30af\u6587\u306f\u6587\u3092\u30b0\u30eb\u30fc\u30d7\u5316\u3059\u308b\u306e\u306b\u7528\u3044\u307e\u3059\u3002\u30d6\u30ed\u30c3\u30af\u306f\u6ce2\u62ec\u5f27\u306e\u30da\u30a2\u3067\u533a\u5207\u308a\u307e\u3059\u3002", "localization_tags": [], "locale": "ja", "last_edit": "2013-05-28T13:01:45", "review_tags": []}, {"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": []}, {"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": "\u0411\u043e\u043b\u0435\u0435 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u0430\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u043e\u0431 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044f\u0445, \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0435\u043d\u043d\u044b\u0445\u00a0\u0432 \u0434\u0430\u043d\u043d\u043e\u0439 \u0433\u043b\u0430\u0432\u0435, \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442\u0441\u044f \u0432\u00a0\u0441\u043f\u0440\u0430\u0432\u043e\u0447\u043d\u0438\u043a\u0435 \u043f\u043e JavaScript. \u0422\u043e\u0447\u043a\u0430 \u0441 \u0437\u0430\u043f\u044f\u0442\u043e\u0439 ( ;
) \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0434\u043b\u044f \u0440\u0430\u0437\u0434\u0435\u043b\u0435\u043d\u0438\u044f \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0439 \u0432 \u043a\u043e\u0434\u0435.", "localization_tags": [], "locale": "ru", "last_edit": "2015-04-22T07:15:25", "review_tags": ["editorial"]}, {"title": "\u8bed\u53e5", "url": "/zh-CN/docs/Web/JavaScript/Guide/Statements", "tags": ["\u6307\u5357", "\u8bed\u53e5", "JavaScript"], "summary": "JavaScript \u652f\u6301\u4e00\u7cfb\u5217\u7cbe\u7b80\u7684\u8bed\u53e5\uff0c\u4f60\u53ef\u4ee5\u7528\u5b83\u4eec\u4f7f\u4f60\u7684\u7f51\u9875\u5145\u6ee1\u4e92\u52a8\u3002\u8fd9\u4e00\u7ae0\u8282\u6211\u4eec\u5c06\u5e26\u6765\u5173\u4e8e\u8bed\u53e5\u7684\u6982\u89c8\u3002.", "localization_tags": ["inprogress"], "locale": "zh-CN", "last_edit": "2015-04-13T08:15:36", "review_tags": []}, {"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", "Beginner", "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": "2015-04-25T09:15:23", "review_tags": []}, {"title": "Ifadeler (Kontrol Akisi)", "url": "/tr/docs/Web/JavaScript/Guide/Ifadeler", "tags": [], "summary": "JavaScript supports a compact set of statements, specifically control flow statements, that you can use to incorporate a great deal of interactivity in Web pages. This chapter provides an overview of these statements.", "localization_tags": [], "locale": "tr", "last_edit": "2014-07-01T00:32:12", "review_tags": []}, {"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": []}, {"title": "Declara\u00e7\u00f5es (fluxo de controle)", "url": "/pt-BR/docs/Web/JavaScript/Guide/Declara%C3%A7%C3%B5es", "tags": ["Gu\u00eda", "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": ["inprogress"], "locale": "pt-BR", "last_edit": "2014-08-06T08:45:50", "review_tags": []}, {"title": "Control de flujo y manejo de errores", "url": "/es/docs/Web/JavaScript/Guide/Control_de_flujo_y_manejo_de_errores", "tags": ["Guia", "Principiantes", "Gu\u00eda", "JavaScript"], "summary": "La gu\u00eda de referencia de Javascript contiene\u00a0detalles exhaustivos sobre las sentencias mencionadas en este cap\u00edtulo. El punto y coma (;
) se utiliza para separar sentencias de c\u00f3digo Javascript.", "localization_tags": ["inprogress"], "locale": "es", "last_edit": "2015-04-22T05:26:33", "review_tags": ["editorial"]}, {"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": []}], "modified": "2015-04-26T05:10:29", "label": "Control flow and error handling", "localization_tags": ["inprogress"], "url": "/bn-BD/docs/Web/JavaScript/Guide/Control_flow_and_error_handling", "last_edit": "2015-04-26T05:10:21", "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": "JavaScript Tutorials: JavaScript Guide Introduction Grammar and types Control flow and error handling Loops and iteration Functions Expressions and operators Numbers and dates Text formatting Regular expressions Indexed collections Keyed collections Working with objects Details of the object model Iterators and generators Meta programming Introductory JavaScript basics JavaScript technologies overview Introduction to Object Oriented JavaScript Intermediate A re-introduction to JavaScript JavaScript data structures Equality comparisons and sameness Closures Advanced Inheritance and the prototype chain Strict mode JavaScript typed arrays Memory Management Concurrency model and Event Loop References: Built-in objects Global Objects Array [Translate] ArrayBuffer [Translate] Boolean [Translate] DataView [Translate] Date [Translate] Error [Translate] EvalError [Translate] Float32Array [Translate] Float64Array [Translate] Function [Translate] Generator [Translate] GeneratorFunction [Translate] Infinity [Translate] Int16Array [Translate] Int32Array [Translate] Int8Array [Translate] InternalError [Translate] Intl [Translate] Intl.Collator [Translate] Intl.DateTimeFormat [Translate] Intl.NumberFormat [Translate] Iterator [Translate] JSON [Translate] Map [Translate] Math [Translate] NaN [Translate] Number Object [Translate] ParallelArray [Translate] Promise [Translate] Proxy [Translate] RangeError [Translate] ReferenceError [Translate] Reflect [Translate] RegExp [Translate] SIMD [Translate] Set [Translate] StopIteration [Translate] \u09b8\u09cd\u099f\u09cd\u09b0\u09bf\u0982 Symbol [Translate] SyntaxError [Translate] TypeError [Translate] TypedArray [Translate] URIError [Translate] Uint16Array [Translate] Uint32Array [Translate] Uint8Array [Translate] Uint8ClampedArray [Translate] WeakMap [Translate] WeakSet [Translate] decodeURI() [Translate] decodeURIComponent() [Translate] encodeURI() [Translate] encodeURIComponent() [Translate] escape() [Translate] eval() [Translate] isFinite isNaN() [Translate] null [Translate] parseFloat() [Translate] parseInt() [Translate] undefined [Translate] unescape() [Translate] uneval() [Translate] Expressions & operators \u099c\u09be\u09ad\u09be\u09b8\u09cd\u0995\u09cd\u09b0\u09bf\u09aa\u09cd\u099f \u0985\u09aa\u09be\u09b0\u09c7\u099f\u09b0 \u09b8\u09ae\u09c1\u09b9 Arithmetic operators [Translate] Array comprehensions [Translate] Assignment operators [Translate] Bitwise operators [Translate] Comma operator [Translate] Comparison operators [Translate] Conditional (ternary) Operator [Translate] Destructuring assignment [Translate] Expression closures [Translate] Generator comprehensions [Translate] Grouping operator [Translate] Legacy generator function expression [Translate] Logical Operators [Translate] Object initializer [Translate] Operator precedence [Translate] Property accessors [Translate] Spread operator [Translate] class expression [Translate] delete operator [Translate] function expression [Translate] function* expression [Translate] in operator [Translate] instanceof [Translate] new operator [Translate] super [Translate] this [Translate] typeof [Translate] void operator [Translate] yield [Translate] yield* [Translate] Statements & declarations \u099c\u09be\u09ad\u09be\u09b8\u09cd\u0995\u09cd\u09b0\u09bf\u09aa\u09cd\u099f \u09b8\u09cd\u099f\u09c7\u099f\u09ae\u09c7\u09a8\u09cd\u099f \u09b8\u09ae\u09c1\u09b9 Legacy generator function [Translate] block [Translate] break [Translate] class [Translate] const [Translate] continue [Translate] debugger [Translate] do...while [Translate] empty [Translate] export [Translate] for [Translate] for each...in [Translate] for...in [Translate] for...of [Translate] function [Translate] function* [Translate] if...else [Translate] import [Translate] label [Translate] let [Translate] return [Translate] switch [Translate] throw [Translate] try...catch [Translate] var [Translate] while [Translate] with [Translate] Functions Functions [Translate] Arguments object [Translate] Arrow functions [Translate] Default parameters [Translate] Method definitions [Translate] Rest parameters [Translate] getter [Translate] setter [Translate] Classes Classes [Translate] constructor [Translate] extends [Translate] static [Translate] Misc Lexical grammar JavaScript data structures Enumerability and ownership of properties Iteration protocols Strict mode Transitioning to strict mode Template strings Deprecated features New in JavaScript \u099c\u09be\u09ad\u09be\u09b8\u09cd\u0995\u09cd\u09b0\u09bf\u09aa\u09cd\u099f\u09c7 \u09a8\u09a4\u09c1\u09a8 ECMAScript 5 support in Mozilla [Translate] ECMAScript 6 support in Mozilla [Translate] ECMAScript 7 support in Mozilla [Translate] Firefox JavaScript changelog [Translate] New in JavaScript 1.1 [Translate] \u099c\u09be\u09ad\u09be\u09b8\u09cd\u0995\u09cd\u09b0\u09bf\u09aa\u09cd\u099f \u09e7.\u09e8 \u098f \u09a8\u09a4\u09c1\u09a8 \u099c\u09be\u09ad\u09be\u09b8\u09cd\u0995\u09cd\u09b0\u09bf\u09aa\u09cd\u099f \u09e7.\u09e9 \u098f \u09a8\u09a4\u09c1\u09a8 \u099c\u09be\u09ad\u09be\u09b8\u09cd\u0995\u09cd\u09b0\u09bf\u09aa\u09cd\u099f \u09e7.\u09ea \u098f \u09a8\u09a4\u09c1\u09a8 New in JavaScript 1.5 [Translate] New in JavaScript 1.6 [Translate] New in JavaScript 1.7 [Translate] New in JavaScript 1.8 [Translate] New in JavaScript 1.8.1 [Translate] \u099c\u09be\u09ad\u09be\u09b8\u09cd\u0995\u09cd\u09b0\u09bf\u09aa\u09cd\u099f \u09e7.\u09ee.\u09eb \u098f \u09af\u09be \u09a8\u09a4\u09c1\u09a8 Documentation: Useful lists All pages index Methods index Properties index Pages tagged \"JavaScript\" Contribute JavaScript doc status The MDN project"}, {"id": "Block_statement", "title": "Block statement"}, {"id": "Example", "title": "Example"}, {"id": "Conditional_statements", "title": "Conditional statements"}, {"id": "if...else_statement", "title": "if...else statement"}, {"id": "Falsy_values", "title": "Falsy values"}, {"id": "Example_2", "title": "Example"}, {"id": "switch_statement", "title": "switch statement"}, {"id": "Example_3", "title": "Example"}, {"id": "Exception_handling_statements", "title": "Exception handling statements"}, {"id": "Exception_types", "title": "Exception types"}, {"id": "throw_statement", "title": "throw statement"}, {"id": "try...catch_statement", "title": "try...catch statement"}, {"id": "The_catch_Block", "title": "The catch block"}, {"id": "The_finally_block", "title": "The finally block"}, {"id": "Nesting_try...catch_Statements", "title": "Nesting try...catch statements"}, {"id": "Utilizing_Error_objects", "title": "Utilizing Error objects"}, {"id": "Promises", "title": "Promises"}, {"id": "Loading_an_image_with_XHR", "title": "Loading an image with XHR"}], "id": 87987, "review_tags": []}