STRICT MODE in Chinese translation

[strikt məʊd]
[strikt məʊd]
strict mode

Examples of using Strict mode in English and their translations into Chinese

{-}
  • Political category close
  • Ecclesiastic category close
  • Programming category close
To enable strict mode you just have to add the string‘use strict' in the beginning of your code.
要启用Strict模式,你只需要添加在你的代码开头添加字符串‘usestrict'。
And in ECMAScript 5 strict mode, assigning to an undeclared variable throws an error.
而在ECMAScript5严格模式下,分配给未声明的变量会引发错误。
In addition, an implementation must support the combination of unrestricted and strict mode code units into a single composite program.
此外,实现还必须支持未限制严格模式代码单元的在同一个程序中混用。
In strict mode, referencing a a this value of null or undefined throws an error.
严格模式下,引用null或undefined的这个值会引发错误。
If you are using MobX in strict mode, MobX will force the state to be modified only during the action.
如果是在严格模式下使用MobX的话,MobX会强制只有在动作之中才可以修改状态。
I found a nice article describing several things that are prohibited in strict mode(note that this is not an exclusive list).
我发现了一篇很好的文章,描述了在严格模式下禁止的几件事情(请注意,这不是一个独占列表):.
ECMAScript 5's strict mode is a way to opt in to a restricted variant of JavaScript.
ECMAScript5的严格模式是JavaScript中的一种限制性更强的变种方式。
When running in ECMAScript 5 strict mode, the second name property causes a syntax error.
在ECMAScript5的严格模式下运行时,第二个name属性会造成语法错误。
Strict mode enforces some coding guidelines and throws error in case you are writing something unsafe.
Strict模式强制一些编码准则,并且在你写的东西不安全的情况下会抛出错误。
Using with is not recommended, and is forbidden in ECMAScript 5 strict mode.
不推荐使用,并在ECMAScript5严格模式是被禁止的。
Type safety: in strict mode the compiler can identify data type errors.
类型安全性:在严谨模式下,编译器可以识别数据类型错误。
Note: You will not be able to create a new object from constructor in strict mode without using‘new' keyword.
注意:你无法在不使用'new'关键字的情况下,在Strict模式下从构造器创建一个新的对象。
This turn out to be a great source of confusion, this is why, when running in strict mode, the value is undefined.
这是造成混乱的一个重要原因,这就是为什么在严格模式下运行时,值是未定义的。
Strict Mode is a new feature in ECMAScript 5 that allows you to place a program, or a function, in a"strict" operating context.
严格模式是ECMAScript5中的一项新功能,可以让你把一个程序或函数,在一个“严”的工作环境。
Produce an error in strict mode(otherwise a warning) when a division by zero(or MOD(X, 0)) occurs during an INSERT or UPDATE.
严格模式,在INSERT或UPDATE过程中,如果被零除(或MOD(X,0)),则产生错误(否则为警告)。
In this case, i has no explicit default, so in strict mode each of the following statements produce an error and no row is inserted.
在这种情况下,i没有明确的默认值,所以在严格模式中,每个后续语句都会产生一个错误,并且没有行被插入。
Here, JavaScript is running in strict mode, hence when you reassign the value for the name property, JavaScript will throw an exception as shown below.
在这里,JavaScript以严格模式运行,因此,当你重新分配name属性的值时,JavaScript将抛出异常,如下所示:.
There are some differences between declared and undeclared variables, which might lead to unexpected results and that's why JavaScript presents an error in strict mode.
事实上已声明的和未声明的变量之间有一些差异,这可能会导致意想不到的结果,这就是为什么JavaScript在严格模式打印出这种错误。
In strict mode, this is undefined.
严格模式中,则是undefined。
In strict mode, this is undefined.
严格模式下,它现在是未定义的。
Results: 162, Time: 0.0291

Word-for-word translation

Top dictionary queries

English - Chinese