go top

the out of scope variable

网络释义

  外部作用域变量

> The out of scope variable/外部作用域变量 > Be careful with chained operations/小心链式操作 ..

基于2个网页-相关网页

有道翻译

the out of scope variable

超出作用域的变量

以上为机器翻译结果,长、整句建议使用 人工翻译

双语例句

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

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

    youdao

  • The functions themselves only exist in the scope of the variable of which they are defined, so when that variable goes out of scope, so does the function.

    函数本身存在定义函数变量范围内,因此该变量超出范围时,函数也超出范围。

    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

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

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

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