• When a closure "captures" a variable it "lifts" the variable out of its local scope and effectively moves it into an anonymous object.

    闭包捕获”一个变量时,就会将这个变量提取本地范围匿名对象里。

    youdao

  • Watch the variables being used in a function. If you notice a function using an out-of-scope variable more than once, store it in a local variable and use that instead.

    仔细检查函数所有使用变量如果一个变量不是当前作用域定义的,而且使用不止一次那么我们就应该把这个变量保存局部变量中,而使用这个局部变量来进行读写操作。

    youdao

  • The calculator makes use of the local statement to declare x as a local variable that is available only within the scope of the mycalc function.

    这个计算器利用local语句x声明局部变量只能mycalc函数范围使用。

    youdao

  • A local variable is one that is only available for use (that is, you can assign to it, or fetch its value) within the scope in which it is declared, and within nested scopes as well.

    本地变量可以声明范围中和嵌套范围使用的变量(也就是说可以,也可以从中取值)。

    youdao

  • Because tally is a local variable within the function, it is created anew with each call and falls out of scope and is destroyed automatically when each call returns.

    由于tally函数本地变量将在每次调用重新创建清空范围并且每个调用被返回自动销毁

    youdao

  • Firefox 3.1 Beta 2 was somewhat surprising as local variable writes were very fast but performance degraded significantly once the variable was out of the local scope.

    Firefox 3.1Beta2表现有点出人意料对于局部变量执行的效率非常随着作用层数的增加,效率便大打折扣。

    youdao

  • A local variable is a variable that has its scope set to be visible in "This test only."

    本地变量就是一个范围设置Thistest only”可见的变量。

    youdao

  • Local variables are faster to access than out-of-scope variables because they exist in the first variable object of the scope chain.

    局部变量域外变量因为它位于作用第一对象中。

    youdao

  • Sets the name and lexical scope of this local variable.

    设置局部变量名称词法范围

    youdao

  • If this is a local variable within a scope, the end offset will fall within the offsets defined for the scope.

    如果变量某个范围局部变量,结束偏移位于为此范围定义偏移量界线内。

    youdao

  • Use this function to clear variables of type VARIANTARG (or VARIANT) before the memory that contains the VARIANTARG is freed (as when a local variable goes out of scope).

    使用这个函数清除VARIANTARG(VARIANT)类型变量内存包含VARIANTARG被释放(一个局部变量超出作用域时)。

    youdao

  • Use this function to clear variables of type VARIANTARG (or VARIANT) before the memory that contains the VARIANTARG is freed (as when a local variable goes out of scope).

    使用这个函数清除VARIANTARG(VARIANT)类型变量内存包含VARIANTARG被释放(一个局部变量超出作用域时)。

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定