{"json_modified": "2015-04-13T14:17:11.773269", "slug": "Web/JavaScript/Guide/Control_flow_and_error_handling", "tags": [], "locale": "nl", "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": "", "localization_tags": [], "locale": "en-US", "last_edit": "2015-04-04T09:39:18", "review_tags": []}, {"title": "\u30d6\u30ed\u30c3\u30af\u6587", "url": "/ja/docs/Web/JavaScript/Guide/Block_Statement", "tags": [], "summary": "", "localization_tags": [], "locale": "ja", "last_edit": "2013-05-28T13:01:45", "review_tags": []}, {"title": "Anweisungen (Kontrollfluss)", "url": "/de/docs/Web/JavaScript/Guide/Statements", "tags": ["Guide", "Beginner", "JavaScript"], "summary": "", "localization_tags": [], "locale": "de", "last_edit": "2014-09-28T05:28:31", "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/Statements", "tags": ["Guide", "JavaScript"], "summary": "", "localization_tags": [], "locale": "ru", "last_edit": "2015-04-01T11:56:16", "review_tags": ["editorial"]}, {"title": "\u8bed\u53e5", "url": "/zh-CN/docs/Web/JavaScript/Guide/Statements", "tags": ["\u6307\u5357", "\u8bed\u53e5", "JavaScript"], "summary": "", "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": "", "localization_tags": [], "locale": "fr", "last_edit": "2015-04-08T13:23:38", "review_tags": []}, {"title": "\u09b8\u09cd\u099f\u09c7\u099f\u09ae\u09c7\u09a8\u09cd\u099f (\u0995\u09a8\u09cd\u099f\u09cd\u09b0\u09cb\u09b2 \u0997\u09a4\u09bf\u09ac\u09bf\u09a7\u09bf)", "url": "/bn-BD/docs/Web/JavaScript/Guide/Statements", "tags": [], "summary": "", "localization_tags": [], "locale": "bn-BD", "last_edit": "2014-07-03T08:59:17", "review_tags": []}, {"title": "Ifadeler (Kontrol Akisi)", "url": "/tr/docs/Web/JavaScript/Guide/Ifadeler", "tags": [], "summary": "", "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": "", "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": "", "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": "", "localization_tags": ["inprogress"], "locale": "es", "last_edit": "2015-03-13T20:57:40", "review_tags": ["editorial"]}], "modified": "2015-04-13T14:17:10", "label": "Control flow and error handling", "localization_tags": ["inprogress"], "url": "/nl/docs/Web/JavaScript/Guide/Control_flow_and_error_handling", "last_edit": "2015-04-13T14:17:02", "summary": "The JavaScript reference contains exhaustive details about the statements in this chapter. The semicolon (;
) character is used to separate statements in JavaScript code.", "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 Standard built-in objects [Translate] 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 [Translate] Object [Translate] ParallelArray [Translate] Promise [Translate] Proxy [Translate] RangeError [Translate] ReferenceError [Translate] Reflect [Translate] RegExp [Translate] Set [Translate] StopIteration [Translate] String [Translate] 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() [Translate] isNaN() [Translate] null [Translate] parseFloat() [Translate] parseInt() [Translate] undefined [Translate] unescape() [Translate] uneval() [Translate] Expressions & operators Expressions and operators [Translate] 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 Statements and declarations [Translate] 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 New in JavaScript [Translate] 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] New in JavaScript 1.2 [Translate] New in JavaScript 1.3 [Translate] New in JavaScript 1.4 [Translate] 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] New in JavaScript 1.8.5 [Translate] 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": 147083, "review_tags": []}