{"json_modified": "2016-06-29T02:25:05.786705", "uuid": "ba2e8031-c537-46f7-8738-d7d775fa03df", "title": "Transitioning to strict mode", "url": "/en-US/docs/Web/JavaScript/Reference/Strict_mode/Transitioning_to_strict_mode", "tags": ["Advanced", "JavaScript"], "translations": [{"uuid": "586d27d1-dec7-4bb0-a8bb-5c0d5f9da92e", "title": "Wechsel zum \"strict mode\"", "url": "/de/docs/Web/JavaScript/Reference/Strict_mode/wechsel_zum_strict_mode", "tags": ["Advanced", "JavaScript"], "summary": "ECMAScript 5 ver\u00f6ffentlichte den strict mode, welcher inzwischen in allen g\u00e4ngigen Web-Browsern (inkl. IE10) implementiert wurde. W\u00e4hrend es einfach ist, im Web-Browser zum Strict mode\u00a0 zu wechseln (nur die Zeile \"use strict\"; am Anfang des Quellcodes hinzuf\u00fcgen), ben\u00f6tigt es mehr, den Wechsel vom normalen Code zum strict mode umzusetzen.", "localization_tags": ["inprogress"], "locale": "de", "last_edit": "2016-06-20T06:23:33", "review_tags": []}, {"uuid": "71f6e896-864d-4a58-be76-c6666e8692ee", "title": "Passer au mode strict", "url": "/fr/docs/Web/JavaScript/Reference/Strict_mode/Passer_au_mode_strict", "tags": ["Avanc\u00e9", "JavaScript"], "summary": "Le mode strict fut introduit avec ECMAScript 5 et est d\u00e9sormais pr\u00e9sent dans les principaux navigateurs. Pour indiquer au navigateur l'utilisation de ce mode, il suffit d'ajouter \"use strict\";
au d\u00e9but du code source. En revanche, il faut un peu plus de travail afin de migrer une base de code existante afin qu'elle utilise int\u00e9gralement le mode strict.", "localization_tags": [], "locale": "fr", "last_edit": "2016-06-26T10:26:54", "review_tags": []}, {"uuid": "7fc16802-32b8-4dc8-8fc2-6941215e1a62", "title": "Transitioning to strict mode", "url": "/ja/docs/Web/JavaScript/Strict_mode/Transitioning_to_strict_mode", "tags": ["Advanced", "JavaScript"], "summary": "ECMAScript\u7b2c\uff15\u7248\u3067\u306f\u3001\u3059\u3079\u3066\u306e\u4e3b\u8981\u306a\u30d6\u30e9\u30a6\u30b6(IE10\u3092\u542b\u3080)\u3067\u4eca\u5b9f\u88c5\u3055\u308c\u3066\u3044\u308bstrict mode\u304c\u5c0e\u5165\u3055\u308c\u3066\u3044\u307e\u3059\u3002Web\u30d6\u30e9\u30a6\u30b6\u304c\u53b3\u5bc6\u3067\u3042\u308b\u3068\u30b3\u30fc\u30c9\u3092\u89e3\u91c8\u3059\u308b\u306e\u306f\u7c21\u5358\u3067\u3042\u308b\u4e00\u65b9(\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u306e\u5148\u982d\u306b\"use strict\";
\u3092\u8ffd\u52a0\u3059\u308b\u3060\u3051\u3067\u3059)\u3001strict\u30e2\u30fc\u30c9\u306b\u65e2\u5b58\u306e\u30b3\u30fc\u30c9\u30d9\u30fc\u30b9\u3092\u79fb\u884c\u3059\u308b\u3053\u3068\u306f\u3001\u3082\u3046\u5c11\u3057\u4f5c\u696d\u304c\u5fc5\u8981\u3067\u3059\u3002", "localization_tags": ["inprogress"], "locale": "ja", "last_edit": "2015-06-10T20:53:49", "review_tags": ["editorial"]}, {"uuid": "4aa754ec-0de4-4883-99e9-ac3c386c7a1d", "title": "\u041f\u0435\u0440\u0435\u0445\u043e\u0434 \u043a \u0441\u0442\u0440\u043e\u0433\u043e\u043c\u0443 \u0440\u0435\u0436\u0438\u043c\u0443", "url": "/ru/docs/Web/JavaScript/Reference/Strict_mode/Transitioning_to_strict_mode", "tags": ["Advanced", "JavaScript"], "summary": "\u0412 ECMAScript 5 \u0432\u0432\u0435\u0434\u0435\u043d\u00a0\u0441\u0442\u0440\u043e\u0433\u0438\u0439 \u0440\u0435\u0436\u0438\u043c, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d \u0432\u043e \u0432\u0441\u0435\u0445 \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0445\u00a0\u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430\u0445\u00a0(\u0432\u043a\u043b\u044e\u0447\u0430\u044f IE10). \u0412 \u0442\u043e \u0432\u0440\u0435\u043c\u044f \u043a\u0430\u043a\u00a0\u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435\u00a0\u0438\u043d\u0442\u0435\u0440\u043f\u0440\u0435\u0442\u0430\u0446\u0438\u0438\u00a0\u043a\u043e\u0434\u0430\u00a0\u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430\u043c\u0438\u00a0\u0432 \u0441\u0442\u0440\u043e\u0433\u043e\u043c\u00a0\u0440\u0435\u0436\u0438\u043c\u0435\u00a0\u0434\u0435\u043b\u0430\u0435\u0442\u0441\u044f \u043e\u0447\u0435\u043d\u044c \u043f\u0440\u043e\u0441\u0442\u043e\u00a0(\u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c\u00a0\"use strict\";
\u00a0\u0432 \u0432\u0435\u0440\u0445\u043d\u0435\u0439 \u0447\u0430\u0441\u0442\u0438 \u0432\u0430\u0448\u0435\u0433\u043e \u043a\u043e\u0434\u0430), \u0434\u043b\u044f \u0430\u0434\u0430\u043f\u0442\u0430\u0446\u0438\u0438\u00a0\u0443\u0436\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u0433\u043e \u043a\u043e\u0434\u0430 \u043a \u0441\u0442\u0440\u043e\u0433\u043e\u043c\u0443 \u0440\u0435\u0436\u0438\u043c\u0443 \u043f\u043e\u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u0431\u043e\u043b\u044c\u0448\u0435 \u0440\u0430\u0431\u043e\u0442\u044b.", "localization_tags": [], "locale": "ru", "last_edit": "2016-02-09T14:06:10", "review_tags": ["editorial"]}, {"uuid": "bf60bc48-d847-4157-8f36-c82678b16b94", "title": "\u5411\u4e25\u683c\u6a21\u5f0f\u8fc7\u6e21", "url": "/zh-CN/docs/Web/JavaScript/Reference/Strict_mode/Transitioning_to_strict_mode", "tags": [], "summary": "ECMAScript 5 \u5f15\u5165\u4e86 strict mode\u00a0,\u73b0\u5728\u5df2\u7ecf\u88ab\u5927\u591a\u6d4f\u89c8\u5668\u5b9e\u73b0(\u5305\u62ecIE10. \u4f1a\u4f7fweb\u6d4f\u89c8\u5668\u66f4\u5bb9\u6613\u7684\u89e3\u6790\u4ee3\u7801(\u53ea\u9700\u8981\u6dfb\u52a0\u00a0\"use strict\";
\u5728\u6e90\u7801\u7684\u6700\u4e0a\u9762), \u7531\u73b0\u6709\u7684\u4ee3\u7801\u5230\u4e25\u683c\u6a21\u5f0f\u7684\u8fc7\u6e21\u9700\u8981\u4e00\u4e9b\u4e8b\u505a.", "localization_tags": [], "locale": "zh-CN", "last_edit": "2016-06-29T02:24:56", "review_tags": ["editorial"]}], "modified": "2016-06-20T03:17:04", "label": "Transitioning to strict mode", "localization_tags": [], "locale": "en-US", "id": 60743, "last_edit": "2016-06-20T03:16:57", "summary": "ECMAScript 5 introduced strict mode which is now implemented in all major browsers (including IE10). While making web browsers interpret code as strict is easy (just add \"use strict\";
at the top of your source code), transitioning an existing code base to strict mode requires a bit more work.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Gradual_transition", "title": "Gradual transition"}, {"id": "Differences_from_non-strict_to_strict", "title": "Differences from non-strict to strict"}, {"id": "Syntax_errors", "title": "Syntax errors"}, {"id": "New_runtime_errors", "title": "New runtime errors"}, {"id": "Setting_a_value_to_an_undeclared_variable", "title": "Setting a value to an undeclared variable"}, {"id": "Trying_to_delete_a_non-configurable_property", "title": "Trying to delete a non-configurable property"}, {"id": "Poisoned_arguments_and_function_properties", "title": "Poisoned arguments and function properties"}, {"id": "Semantic_differences", "title": "Semantic differences"}, {"id": "this_in_function_calls", "title": null}, {"id": "arguments_doesn't_alias_named_function_arguments", "title": null}, {"id": "Change_to_eval", "title": "Change to "}, {"id": "Strictness-neutral_code", "title": "Strictness-neutral code"}, {"id": "See_also", "title": "See also"}], "slug": "Web/JavaScript/Reference/Strict_mode/Transitioning_to_strict_mode", "review_tags": []}