{"json_modified": "2016-10-03T03:21:04.943999", "uuid": "8cc9c8f6-70dd-4ec0-8240-64610bf39271", "title": "Block (scripting)", "url": "/en-US/docs/Glossary/Block/Scripting", "tags": ["glossary", "CodingScripting", "Glossary", "JavaScript"], "translations": [{"uuid": "c9f9bfe7-a804-4b54-84b2-bd4b80b38617", "title": "Bloc (script)", "url": "/fr/docs/Glossary/Block/Scripting", "tags": ["CodingScripting", "Glossaire", "JavaScript"], "summary": "En JavaScript, un bloc est un ensemble d'instructions entour\u00e9 d'accolades (\"{}\"). Par exemple, vous pouvez placer un bloc d'instructions apr\u00e8s if (condition)
pour indiquer \u00e0 l'interpr\u00e9teur d'ignorer la totalit\u00e9 du bloc si la condition est fausse.", "localization_tags": [], "locale": "fr", "last_edit": "2015-12-06T10:43:52", "review_tags": ["technical"]}], "modified": "2016-10-03T03:20:18", "label": "Block (scripting)", "localization_tags": [], "locale": "en-US", "id": 147588, "last_edit": "2016-10-03T03:20:16", "summary": "In JavaScript, a block is a collection of related statements enclosed in braces (\"{}\"). For example, you can put a block of statements after an if (condition)
block, indicating that the interpreter should run the code inside the block if the condition is true, or skip the whole block if the condition is false.", "sections": [{"id": "Learn_more", "title": "Learn more"}, {"id": "Learn_about_it", "title": "Learn about it"}], "slug": "Glossary/Block/Scripting", "review_tags": []}