严格模式 - 翻译成英语

在 中文 中使用 严格模式 的示例及其翻译为 英语

{-}
  • Political category close
  • Ecclesiastic category close
  • Programming category close
此版本带来了一些标准库的增强,甚至通过引入严格模式更新了语言的语义。
This version brings several enhancements to the standard library and even updated language semantics via a strict mode.
使用“usestrict”指令的目的是强制执行严格模式下的代码。
The purpose of using“use strict” directive is to enforce the code is executed in strict mode.
函数doSomething的词汇范围中的所有内容都将以严格模式进行解释。
Everything in the lexical scope of function doSomething will be interpreted in strict mode.
严格模式是ECMAScript5中的一项新功能,可以让你把一个程序或函数,在一个“严”的工作环境。
Strict Mode is a new feature in ECMAScript 5 that allows you to place a program, or a function, in a"strict" operating context.
严格模式,在INSERT或UPDATE过程中,如果被零除(或MOD(X,0)),则产生错误(否则为警告)。
Produce an error in strict mode(otherwise a warning) when a division by zero(or MOD(X, 0)) occurs during an INSERT or UPDATE.
在这种情况下,i没有明确的默认值,所以在严格模式中,每个后续语句都会产生一个错误,并且没有行被插入。
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.
在这里,JavaScript以严格模式运行,因此,当你重新分配name属性的值时,JavaScript将抛出异常,如下所示:.
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在严格模式打印出这种错误。
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.
String(1e2)和String(100)正好是等于"100",造成了“严格模式下对象字面量中不允许重复的数据属性”的错误。
Both String(1e2) and String(100) happen to be equal to"100", which causes the“Duplicate data property in object literal not allowed in strict mode” error.
JavaScript严格模式不允许默认绑定。
JavaScript strict mode does not allow default binding.
严格模式中,则是undefined。
In strict mode, this is undefined.
但是,严格模式会引发错误。
However, strict mode will throw an error.
什么东西在严格模式下被禁止??
What things are prohibited in strict mode?
严格模式不允许未声明的变量。
Strict mode doesn't allow you to use undeclared variables.
严格模式中,这会抛出SyntaxError:.
In strict mode code, however, this will throw a SyntaxError.
严格模式下,this不会指向window.
In non-strict mode, this refers to the window object.
它在严格模式和非严格模式之间也有一些区别。
It also has some differences between strict mode and non-strict mode..
仅在严格模式下出现的ReferenceError警告。
ReferenceError warning in strict mode only.
这种方式在严格模式和非严格模式下都行得通。
It works the same way in both strict and non-strict mode.
在函数中,严格模式下,this是undefined。
When in strict mode, this in functions is undefined.
结果: 265, 时间: 0.0183

单词翻译

顶级字典查询

中文 - 英语