What is the translation of " 严格模式 " in English?

Examples of using 严格模式 in Chinese and their translations into English

{-}
  • Political category close
  • Ecclesiastic category close
  • Programming category close
严格模式的一些主要优点包括:.
Some of the key benefits of strict mode include:.
严格模式中,函数的this为undefined.
When in strict mode, this in functions is undefined.
严格模式下你不能使用未声明的变量。
With strict mode, you can not, for example, use undeclared variables.
严格模式中,函数的this为undefined.
In a function, in strict mode, this is undefined.
严格模式声明的范围取决于其上下文。
The scope of a strict mode declaration depends on its context.
严格模式中不允许使用为未来预留的关键词。
Future reserved keywords are not allowed in strict mode.
所有class结构中的代码,都自动开启了严格模式
All code inside of class declarations runs in strict mode automatically.
这种差异可用于测试实现是否支持严格模式:.
This difference canbe used to test if an implementation supports the strict mode:.
这是个糟糕的做法,严格模式下会抛出错误。
This is a bad practice and would cause an error in strict mode:.
在ES5严格模式下,未声明的变量(如在前面的代码片段中的两个反面教材)工作时会抛出一个错误。
In ES5 strict mode, assignments to undeclared variables(such as the two antipatterns in the preceding snippet) will throw an error.
严格模式选择使用的ECMAScript严格模式的语法和语义,明确地适用于个别ECMAScript代码单元级别。
Strict mode selection and use of the strict mode syntax and semantics of ECMAScript is explicitly made at the level of individual ECMAScript code units.
如果未启用严格模式,该数值将被截短为最近的合法值,并发出警告。
If strict mode is not enabled, the value is truncated to the nearest legal value and a warning is generated.
严格模式下,每个传入数据包都根据FIB进行测试,如果“传入”接口不是最佳反向路径,则数据包检查失败。
In strict mode each incoming packet is tested against the FIB and if the incoming interface is not the best reverse path the packet check will fail.
严格模式下,函数的arguments-object包含值的静态副本,并将其传递给该函数。
In strict mode the arguments-object of a function contains a static copy of the values, which are passed to that function.
严格模式不限制或修改任何必须运行在多个代码单元的ECMAScript语义层面。
Strict mode does not restrict or modify any aspect of the ECMAScript semantics that must operate consistently across multiple code units.
通常建议您使用严格模式,除非你的代码依赖于与严格模式不兼容的库。
It is generally recommended that you use strict mode, except your code depends on libraries that are incompatible with strict mode.
严格模式下,当您尝试为对象文字定义具有相同名称的多个属性时,将其视为语法错误。
In strict mode it is considered a syntactical error when you try to define several properties with the same name for an object literal.
但是在严格模式下运行的函数就不是这种情况了,其中this的值为undefined:.
But that's not the case with functions running in strict mode, in which this has a value of undefined:.
如果在全局上下文(函数的范围之外)中声明严格模式,则程序中的所有代码都处于严格模式
If it is declared in a global context(outside the scope of a function),all the code in the program is in strict mode.
这个问题另一个陷阱就是,在函数中他没有使用“严格模式”('usestrict';)。
The other trick of this question is that it doesn't use strict mode('use strict';) inside the function.
在全书各章里,我也增加了ECMAScript5带来的变化,包括严格模式的限制和如何使用新API创建对象。
Throughout the book, I have added references to changes in ECMAScript 5,including how strict mode works and how to use the new object-creation APIs.
这个问题的另一个诀窍是,它没有使用严格模式(‘usestrict';)。
The other trick of this question is that it doesn't use strict mode('use strict';) inside the function.
请确保"usestrict"出现在脚本的最顶部,否则严格模式可能无法启用。
Please make sure that"use strict" is at the top of your scripts,otherwise strict mode may not be enabled.
语言的一些现代特征(比如我们将来要学习的类)会隐式地启用严格模式
Some modern features of the language(like classes that we will study in the future)enable strict mode implicitly.
下面列出了严格模式和正常模式之间的区别(其中前三个特别重要):.
The following lists the differences between strict mode and normal mode(of which the first three are particularly important):.
在现代环境中,启用严格模式后,您将收到错误。
In modern environments, with strict mode enabled, you will get an error.
如果没有严格模式,将值赋给未声明的变量会自动创建一个具有该名称的全局变量。
Without strict mode, assigning a value to an undeclared variable automatically creates a global variable with that name.
在这种情况下,解析器必须回溯和重新用严格模式解析参数列表,因此070将抛出了一个语法错误。
At that point,the parser would have to backtrack and re-parse the parameter list in strict mode so a syntax error is thrown for 070.
严格模式可以与非严格模式共存,所以脚本可以逐渐的选择性加入严格模式
Strict mode code and non-strict mode code can coexist,so scripts can opt into strict mode incrementally.
JQuery3虽为严格模式,但并不强制在严格模式下运行你的代码。
Although jQuery 3 has been written in strict mode, it's not compulsory to run your code in strict mode.
Results: 91, Time: 0.0144

Word-for-word translation

Top dictionary queries

Chinese - English