{"json_modified": "2016-10-21T05:33:25.608789", "uuid": "9bafdd3a-906f-4584-8a9a-c35c4e9002be", "title": "Strict mode", "url": "/en-US/docs/Web/JavaScript/Reference/Strict_mode", "tags": ["ECMAScript5", "Strict Mode", "JavaScript"], "translations": [{"uuid": "59f4b17a-9259-4c21-94a3-cb3ca2d8a07f", "title": "Strict mode", "url": "/de/docs/Web/JavaScript/Reference/Strict_mode", "tags": ["ECMAScript5", "TopicStub", "NeedsTranslation", "Strict Mode", "JavaScript"], "summary": "ECMAScript 5's strict mode is a way to opt in to a restricted variant of JavaScript. Strict mode isn't just a subset: it intentionally has different semantics from normal code. Browsers not supporting strict mode will run strict mode code with different behavior from browsers that do, so don't rely on strict mode without feature-testing for support for the relevant aspects of strict mode. Strict mode code and non-strict mode code can coexist, so scripts can opt into strict mode incrementally.", "localization_tags": ["inprogress"], "locale": "de", "last_edit": "2015-07-14T04:36:31", "review_tags": []}, {"uuid": "a41d4598-c7b9-4bfd-96e2-abf27312bbe3", "title": "Modo Estricto", "url": "/es/docs/Web/JavaScript/Referencia/Modo_estricto", "tags": ["ECMAScript5", "Modo estricto", "JavaScript"], "summary": "El modo estricto de\u00a0ECMAScript 5\u00a0es una forma de\u00a0optar\u00a0explicitamente\u00a0por una variante restringida de JavaScript. El modo estricto no es s\u00f3lo un subconjunto:\u00a0intencionalmente\u00a0tiene diferente sem\u00e1ntica que\u00a0c\u00f3digo normal. Los navegadores que no soportan el modo estricto ejecutar\u00e1n el c\u00f3digo con un modo diferente de los que s\u00ed\u00a0lo soportan, as\u00ed que no hay que usar\u00a0en el modo estricto sin hacer pruebas previas. C\u00f3digo en modo estrico y en no estricto pueden coexistir, de modo que c\u00f3digo puede migrarse a modo estricto incrementalmente.", "localization_tags": ["inprogress"], "locale": "es", "last_edit": "2016-06-03T09:49:51", "review_tags": []}, {"uuid": "57dd1a50-4a12-4dc9-8101-c4779954a54f", "title": "Le mode strict", "url": "/fr/docs/Web/JavaScript/Reference/Strict_mode", "tags": ["R\u00e9f\u00e9rence", "Reference", "ECMAScript 5", "Strict Mode", "JavaScript"], "summary": "Le mode strict de ECMAScript 5 permet de choisir une variante restrictive de JavaScript. Le mode strict n'est pas seulement un sous-ensemble de JavaScript : il poss\u00e8de intentionnellement des s\u00e9mantiques diff\u00e9rentes du code normal. Les navigateurs ne supportant pas le mode strict ex\u00e9cuteront le code d'une fa\u00e7on l\u00e9g\u00e8rement diff\u00e9rente de ceux le supportant, il ne faut donc pas compter sur le mode strict pour \u00e9viter des tests sur les navigateurs qui ne le supportent pas. Les codes en mode strict et en mode non-strict peuvent coexister, ce qui permet de r\u00e9\u00e9crire les scripts en mode strict de fa\u00e7on incr\u00e9mentale.", "localization_tags": [], "locale": "fr", "last_edit": "2016-07-06T05:12:58", "review_tags": []}, {"uuid": "2912fabf-b2ca-4870-996b-4f2dfadd7fc7", "title": "Strict \u30e2\u30fc\u30c9", "url": "/ja/docs/Web/JavaScript/Strict_mode", "tags": [], "summary": "ECMAScript 5 \u306e strict \u30e2\u30fc\u30c9\u3092JavaScript \u306b\u30aa\u30d7\u30c8\u30a4\u30f3\u3059\u308b\u3053\u3068\u306b\u3088\u3063\u3066\u5e7e\u3064\u304b\u306e\u6a5f\u80fd\u3092\u5236\u9650\u3057\u307e\u3059\u3002strict \u30e2\u30fc\u30c9\u306f\u5358\u306a\u308b\u30b5\u30d6\u30bb\u30c3\u30c8\u3067\u306f\u3042\u308a\u307e\u305b\u3093: strict \u30e2\u30fc\u30c9\u306f\u610f\u56f3\u7684\u306b\u3001\u901a\u5e38\u30e2\u30fc\u30c9\u3068\u306f\u7570\u306a\u308b\u610f\u5473\u3092\u6301\u3063\u3066\u3044\u307e\u3059\u3002strict \u30e2\u30fc\u30c9\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u306a\u3044\u30d6\u30e9\u30a6\u30b6\u306f\u3001strict \u30e2\u30fc\u30c9\u306e\u30b3\u30fc\u30c9\u306b\u3064\u3044\u3066\u30b5\u30dd\u30fc\u30c8\u3059\u308b\u30d6\u30e9\u30a6\u30b6\u3068\u306f\u7570\u306a\u308b\u52d5\u4f5c\u3092\u3059\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u306e\u3067\u3001strict \u30e2\u30fc\u30c9\u306b\u95a2\u3059\u308b\u5074\u9762\u3092\u30b5\u30dd\u30fc\u30c8\u3059\u308b\u304b\u306e\u6a5f\u80fd\u30c6\u30b9\u30c8\u3092\u884c\u308f\u305a\u306b strict \u30e2\u30fc\u30c9\u3092\u983c\u3089\u306a\u3044\u3067\u304f\u3060\u3055\u3044\u3002strict \u30e2\u30fc\u30c9\u306e\u30b3\u30fc\u30c9\u3068\u975e strict \u30e2\u30fc\u30c9\u306e\u30b3\u30fc\u30c9\u306f\u5171\u5b58\u3067\u304d\u307e\u3059\u306e\u3067\u3001\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u9806\u6b21 strict \u30e2\u30fc\u30c9\u306b\u30aa\u30d7\u30c8\u30a4\u30f3\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002", "localization_tags": [], "locale": "ja", "last_edit": "2015-08-10T04:55:21", "review_tags": []}, {"uuid": "dbf1fe1a-0408-40f6-9cf5-9317822fbdc4", "title": "Strict mode", "url": "/ko/docs/Web/JavaScript/Reference/Strict_mode", "tags": [], "summary": "\uc5c4\uaca9 \ubaa8\ub4dc\ub294 \ud3c9\ubc94\ud55c JavaScript \uc2dc\uba58\ud2f1\uc5d0\u00a0\ub2e4\uc591\ud55c \ubcc0\ud654\ub97c \ub9cc\ub4ed\ub2c8\ub2e4. \uba3c\uc800, \uc5c4\uaca9 \ubaa8\ub4dc\ub294 JavaScript \uac00 \ubb35\uc778\ud588\ub358 \uc5d0\ub7ec\ub4e4\uc744 \uc5d0\ub7ec\ub97c \ub358\uc9c0\uac8c\ub054 \ubcc0\ud654\ub97c \uc8fc\uc5b4\u00a0\uc81c\uac70\u00a0\ud569\ub2c8\ub2e4. \ub458\uc9f8\ub85c\ub294, \uc5c4\uaca9 \ubaa8\ub4dc\ub294 JavaScript \uc5d4\uc9c4\uc774 \ucd5c\uc801\ud654 \uc791\uc5c5\uc744 \ud558\ub294 \ub370\uc5d0 \uc5b4\ub835\uac8c \ub9cc\ub4dc\ub294\u00a0\uc2e4\uc218\ub4e4\uc744 \uace0\uce69\ub2c8\ub2e4. (\uac00\ub054\uc529\u00a0\uc5c4\uaca9 \ubaa8\ub4dc\uc758 \ucf54\ub4dc\ub294\u00a0\ube44-\uc5c4\uaca9 \ubaa8\ub4dc\uc758 \ub3d9\uc77c\ud55c \ucf54\ub4dc\ubcf4\ub2e4\u00a0\ub354 \ube68\ub9ac \uc791\ub3d9\ud558\ub3c4\ub85d \ub9cc\ub4e4\uc5b4\uc9d1\ub2c8\ub2e4.) \uc138\ubc88\uc9f8\ub294, \uc5c4\uaca9 \ubaa8\ub4dc\ub294 ECMAScript\uc758 \ucc28\uae30 \ubc84\uc804\ub4e4\uc5d0\uc11c \uc815\uc758 \ub420\u00a0\ubb38\ubc95\uc744 \uae08\uc9c0\ud569\ub2c8\ub2e4.", "localization_tags": ["inprogress"], "locale": "ko", "last_edit": "2016-10-21T05:33:02", "review_tags": []}, {"uuid": "c7fc482a-1652-41e0-adc6-12beed8229ab", "title": "Strict mode", "url": "/pt-BR/docs/Web/JavaScript/Reference/Strict_mode", "tags": [], "summary": "O strict mode do\u00a0ECMAScript 5\u00a0\u00e9 uma forma de optar\u00a0por uma variante restrita do JavaScript. O\u00a0strict mode n\u00e3o \u00e9 apenas um subconjunto: ele\u00a0intencionalmente\u00a0tem sem\u00e2nticas diferentes do c\u00f3digo normal. Navegadores que n\u00e3o suportam strict mode executar\u00e3o c\u00f3digo strict mode com um comportamento diferente dos navegadores que suportam, ent\u00e3o n\u00e3o confie no strict mode sem testar o suporte a funcionalidades dos aspectos relevantes do strict mode. C\u00f3digo strict mode e c\u00f3digo n\u00e3o-strict mode podem coexistir, ent\u00e3o scripts podem optar pelo strict mode incrementalmente.", "localization_tags": [], "locale": "pt-BR", "last_edit": "2016-09-12T05:02:40", "review_tags": []}, {"uuid": "9124dd09-d4b1-4e16-b4d7-2e74be0972ae", "title": "Strict mode", "url": "/ru/docs/Web/JavaScript/Reference/Strict_mode", "tags": ["\u0421\u0442\u0440\u043e\u0433\u0438\u0439 \u0440\u0435\u0436\u0438\u043c"], "summary": "\u0420\u0435\u0436\u0438\u043c strict (\u0441\u0442\u0440\u043e\u0433\u0438\u0439 \u0440\u0435\u0436\u0438\u043c), \u0432\u0432\u0435\u0434\u0435\u043d\u043d\u044b\u0439 \u0432\u00a0ECMAScript 5, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442\u00a0\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0431\u043e\u043b\u0435\u0435 \u0441\u0442\u0440\u043e\u0433\u0438\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 JavaScript. \u042d\u0442\u043e \u043d\u0435 \u043f\u0440\u043e\u0441\u0442\u043e \u043f\u043e\u0434\u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u044f\u0437\u044b\u043a\u0430: \u0432 \u043d\u0435\u043c \u0441\u043e\u0437\u043d\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0441\u0435\u043c\u0430\u043d\u0442\u0438\u043a\u0430, \u043e\u0442\u043b\u0438\u0447\u0430\u044e\u0449\u0430\u044f\u0441\u044f \u043e\u0442 \u043e\u0431\u044b\u0447\u043d\u043e \u043f\u0440\u0438\u043d\u044f\u0442\u043e\u0439. \u041d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u044e\u0449\u0438\u0435 \u0441\u0442\u0440\u043e\u0433\u0438\u0439 \u0440\u0435\u0436\u0438\u043c \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u044b \u0431\u0443\u0434\u0443\u0442 \u043f\u043e-\u0434\u0440\u0443\u0433\u043e\u043c\u0443 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0442\u044c \u043a\u043e\u0434, \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0439 \u0434\u043b\u044f \u0441\u0442\u0440\u043e\u0433\u043e\u0433\u043e \u0440\u0435\u0436\u0438\u043c\u0430, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043d\u0435 \u043f\u043e\u043b\u0430\u0433\u0430\u0439\u0442\u0435\u0441\u044c \u043d\u0430 \u0441\u0442\u0440\u043e\u0433\u0438\u0439 \u0440\u0435\u0436\u0438\u043c \u0431\u0435\u0437 \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u044b\u0445 \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u0435\u0439 \u044d\u0442\u043e\u0433\u043e \u0440\u0435\u0436\u0438\u043c\u0430. \u0421\u0442\u0440\u043e\u0433\u0438\u0439 \u0438 \u043e\u0431\u044b\u0447\u043d\u044b\u0439 \u0440\u0435\u0436\u0438\u043c \u043c\u043e\u0433\u0443\u0442 \u0441\u043e\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c \u043e\u0434\u043d\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e, \u0430 \u0441\u043a\u0440\u0438\u043f\u0442 \u043c\u043e\u0436\u0435\u0442 \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0430\u0442\u044c\u0441\u044f \u0432 \u0441\u0442\u0440\u043e\u0433\u0438\u0439 \u0440\u0435\u0436\u0438\u043c \u043f\u043e \u043c\u0435\u0440\u0435 \u043d\u0430\u0434\u043e\u0431\u043d\u043e\u0441\u0442\u0438.", "localization_tags": [], "locale": "ru", "last_edit": "2016-10-13T00:16:26", "review_tags": []}, {"uuid": "502dcb84-9f55-4c70-ae22-15ae1e012a1b", "title": "\u4e25\u683c\u6a21\u5f0f", "url": "/zh-CN/docs/Web/JavaScript/Reference/Strict_mode", "tags": ["\u4e25\u683c\u6a21\u5f0f"], "summary": "ECMAScript 5\u7684\u4e25\u683c\u6a21\u5f0f\u662fJavaScript\u4e2d\u7684\u4e00\u79cd\u9650\u5236\u6027\u66f4\u5f3a\u7684\u53d8\u79cd\u65b9\u5f0f\u3002\u4e25\u683c\u6a21\u5f0f\u4e0d\u662f\u4e00\u4e2a\u5b50\u96c6\uff1a\u5b83\u5728\u8bed\u4e49\u4e0a\u4e0e\u6b63\u5e38\u4ee3\u7801\u6709\u7740\u660e\u663e\u7684\u5dee\u5f02\u3002\u4e0d\u652f\u6301\u4e25\u683c\u6a21\u5f0f\u7684\u6d4f\u89c8\u5668\u4e0e\u652f\u6301\u4e25\u683c\u6a21\u5f0f\u7684\u6d4f\u89c8\u5668\u884c\u4e3a\u4e0a\u4e5f\u4e0d\u4e00\u6837\uff0c \u6240\u4ee5\u4e0d\u8981\u5728\u672a\u7ecf\u4e25\u683c\u6a21\u5f0f\u7279\u6027\u6d4b\u8bd5\u60c5\u51b5\u4e0b\u4f7f\u7528\u4e25\u683c\u6a21\u5f0f\u3002\u4e25\u683c\u6a21\u5f0f\u53ef\u4ee5\u4e0e\u975e\u4e25\u683c\u6a21\u5f0f\u5171\u5b58\uff0c\u6240\u4ee5\u811a\u672c\u53ef\u4ee5\u9010\u6e10\u7684\u9009\u62e9\u6027\u52a0\u5165\u4e25\u683c\u6a21\u5f0f\u3002", "localization_tags": [], "locale": "zh-CN", "last_edit": "2016-06-29T02:17:00", "review_tags": []}], "modified": "2016-09-04T06:49:09", "label": "Strict mode", "localization_tags": [], "locale": "en-US", "id": 697, "last_edit": "2016-05-23T08:32:17", "summary": "ECMAScript 5's strict mode is a way to opt in to a restricted variant of JavaScript. Strict mode isn't just a subset: it intentionally has different semantics from normal code. Browsers not supporting strict mode will run strict mode code with different behavior from browsers that do, so don't rely on strict mode without feature-testing for support for the relevant aspects of strict mode. Strict mode code and non-strict mode code can coexist, so scripts can opt into strict mode incrementally.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Invoking_strict_mode", "title": "Invoking strict mode"}, {"id": "Strict_mode_for_scripts", "title": "Strict mode for scripts"}, {"id": "Strict_mode_for_functions", "title": "Strict mode for functions"}, {"id": "Changes_in_strict_mode", "title": "Changes in strict mode"}, {"id": "Converting_mistakes_into_errors", "title": "Converting mistakes into errors"}, {"id": "Simplifying_variable_uses", "title": "Simplifying variable uses"}, {"id": "Making_eval_and_arguments_simpler", "title": "Making "}, {"id": "Securing_JavaScript", "title": "\"Securing\" JavaScript"}, {"id": "Paving_the_way_for_future_ECMAScript_versions", "title": "Paving the way for future ECMAScript versions"}, {"id": "Strict_mode_in_browsers", "title": "Strict mode in browsers"}, {"id": "Specifications", "title": "Specifications"}, {"id": "See_also", "title": "See also"}], "slug": "Web/JavaScript/Reference/Strict_mode", "review_tags": []}