{"json_modified": "2015-11-19T16:10:27.673337", "slug": "Web/JavaScript/Referencia/Sentencias/switch", "tags": [], "locale": "es", "title": "switch", "translations": [{"title": "switch", "url": "/en-US/docs/Web/JavaScript/Reference/Statements/switch", "tags": ["Statement", "JavaScript"], "summary": "The switch statement evaluates an expression, matching the expression's value to a case clause, and executes statements associated with that case.", "localization_tags": [], "locale": "en-US", "last_edit": "2015-11-04T14:28:42", "review_tags": []}, {"title": "switch", "url": "/pl/docs/Web/JavaScript/Referencje/Polecenia/switch", "tags": ["Dokumentacja_JavaScript", "JavaScript", "Dokumentacje", "Strony_wymagaj\u0105ce_dopracowania", "Wszystkie_kategorie"], "summary": "Por\u00f3wnuje wyra\u017cenie z danymi etykietami i wykonuje instrukcje z nimi powi\u0105zane.", "localization_tags": [], "locale": "pl", "last_edit": "2014-05-31T00:08:19", "review_tags": []}, {"title": "switch", "url": "/ja/docs/Web/JavaScript/Reference/Statements/switch", "tags": [], "summary": "\u5f0f\u3092\u8a55\u4fa1\u3057\u3001\u305d\u306e\u5f0f\u306e\u5024\u304c case \u306e\u30e9\u30d9\u30eb\u3068\u4e00\u81f4\u3059\u308b\u306a\u3089\u3001\u305d\u306e case \u306b\u95a2\u9023\u4ed8\u3051\u3089\u308c\u305f\u6587\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002", "localization_tags": ["inprogress"], "locale": "ja", "last_edit": "2015-06-25T12:40:28", "review_tags": []}, {"title": "switch", "url": "/fr/docs/Web/JavaScript/Reference/Instructions/switch", "tags": ["R\u00e9f\u00e9rence", "Reference", "Statement", "JavaScript"], "summary": "L'instruction switch
\u00e9value une expression et, selon le r\u00e9sultat obtenu et un cas de figure correspondant, ex\u00e9cute les instructions correspondantes.", "localization_tags": [], "locale": "fr", "last_edit": "2015-11-08T11:47:43", "review_tags": []}, {"title": "switch", "url": "/ru/docs/Web/JavaScript/Reference/Statements/switch", "tags": ["Statement", "JavaScript"], "summary": "\u0418\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044f switch\u00a0\u0441\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u0435\u0442 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u0441\u043e \u0441\u043b\u0443\u0447\u0430\u044f\u043c\u0438, \u043f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u0435\u043d\u043d\u044b\u043c\u0438 \u0432\u043d\u0443\u0442\u0440\u0438 \u043d\u0435\u0451, \u0430 \u0437\u0430\u0442\u0435\u043c \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0435 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438.", "localization_tags": [], "locale": "ru", "last_edit": "2014-11-30T14:00:44", "review_tags": []}, {"title": "switch", "url": "/zh-CN/docs/Web/JavaScript/Reference/Statements/switch", "tags": [], "summary": "switch\u8bed\u53e5\u5bf9\u4e00\u4e2a\u8868\u8fbe\u5f0f\u6c42\u503c\uff0c\u5c06\u7ed3\u679c\u4e0e case
\u5b50\u8bed\u53e5\u6bd4\u8f83\uff0c\u5982\u679c\u5339\u914d\uff0c\u5219\u4ece case \u5904\u7684\u8bed\u53e5\u5411\u4e0b\u6267\u884c\u3002", "localization_tags": ["inprogress"], "locale": "zh-CN", "last_edit": "2015-01-22T07:08:45", "review_tags": []}, {"title": "switch", "url": "/pt-BR/docs/Web/JavaScript/Reference/Statements/switch", "tags": [], "summary": "O\u00a0switch\u00a0avalia uma express\u00e3o, combinando o valor da express\u00e3o para um cl\u00e1usula case, e executa as instru\u00e7\u00f5es associadas ao case.", "localization_tags": ["inprogress"], "locale": "pt-BR", "last_edit": "2015-01-30T03:39:05", "review_tags": []}, {"title": "switch", "url": "/de/docs/Web/JavaScript/Reference/Statements/switch", "tags": ["Anweisung", "JavaScript"], "summary": "Die\u00a0switch Anweisung\u00a0wertet einen Ausdruck (expression)\u00a0aus. Diese Auswertung wird mit einer case-Klausel verglichen und (bei \u00dcbereinstimmung)\u00a0die entsprechenden Anweisungen\u00a0ausgef\u00fchrt.", "localization_tags": [], "locale": "de", "last_edit": "2015-07-02T04:08:53", "review_tags": []}], "modified": "2015-11-19T16:10:25", "label": "switch", "localization_tags": ["inprogress"], "url": "/es/docs/Web/JavaScript/Referencia/Sentencias/switch", "last_edit": "2015-11-19T16:10:19", "summary": "La sentencia\u00a0switch\u00a0eval\u00faa una expresi\u00f3n, comparando la expresi\u00f3n con un conjunto de \u00a0valores\u00a0predefinidoes, y ejecuta comandos seg\u00fan el caso.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Syntax", "title": "Syntax"}, {"id": "Descripci\u00f3n", "title": "Descripci\u00f3n"}, {"id": "Ejemplos", "title": "Ejemplos"}, {"id": "Usando_switch", "title": "Usando "}, {"id": "\u00bfQu\u00e9_pasa_si_olvide_un_break", "title": "\u00bfQu\u00e9 pasa si olvide un break?"}, {"id": "Methods_for_multi-criteria_case", "title": "Methods for multi-criteria case"}, {"id": "Multi-case_-_single_operation", "title": "Multi-case - single operation"}, {"id": "Multi-case_-_chained_operations", "title": "Multi-case - chained operations"}, {"id": "Specifications", "title": "Specifications"}, {"id": "Browser_compatibility", "title": "Browser compatibility"}, {"id": "See_also", "title": "See also"}], "id": 151865, "review_tags": []}