What is the translation of " INNER FUNCTION " in Chinese?

['inər 'fʌŋkʃn]
['inər 'fʌŋkʃn]
内部函数
一个内部函数

Examples of using Inner function in English and their translations into Chinese

{-}
  • Political category close
  • Ecclesiastic category close
  • Programming category close
Generators are implemented via inner functions.
生成器是通过内部函数实现。
At the same time an inner function may be returned from the parent function..
同时,这个内部函数会返回到父级函数中。
It does not purge the return value of the inner function.
它不清除内部函数的返回值。
In other words, the inner function contains the scope of the outer function..
换句话说,内部函数包含外部函数的作用域。
Let's look at three common reasons for writing inner functions.
让我们看一下写内层函数的三个常见原因。
When the inner function runs, the variable in count++ is searched from inside out.
内部函数运行时,count++会由内到外搜索该变量。
They lacked exception handling, inner functions, and inheritance.
它缺少异常处理,内部函数和继承。
The inner function may access variables from it any time even if the outer function is finished.
内部函数可以从中访问变量任何时候即使外部功能完成。
Further assume the outer function returns the inner function, as a function..
进一步假设外部函数返回内部函数,作为函数。
At the same time an inner function may be returned from the parent function..
但与此同时,内部函数则可能从父亲对象被返回。
This means that the values of variablesused in closures are looked up at the time the inner function is called.
这意味着闭包中用到的变量的值,是在内部函数被调用时查询得到的。
A closure is an inner function that has access to the variables in the outer(enclosing) function's scope chain.
闭包是一个内部函数,它可以访问外部(封闭)函数的作用域链中的变量。
This is not surprising,because the appearance of an embryo does not tell us about its genetics or inner functions.
这并不奇怪,因为胚胎的外观并没有告诉我们它的遗传或内在功能
A closure is an inner function that has access to the variables in the outer(enclosing) function's scope chain.
什么是封闭?闭包是一个内部函数,可以访问外部(封闭)函数的变量范围链。
As we noted,often developers incompletely understand as closures only inner functions returned from parent context.
正如我们注意到的,程序员们常常不完整地将闭包理解为只是指从父上下文中返回内部函数
The inner function is executed straight away, and hides its contents from the closure created with clickHandler.
内部函数被直接执行,并在clickHandler创建的闭包中隐藏了它的内容。
The browser keeps the LexicalEnvironment and all its properties(variables) in memory until there is an inner function which references it.
浏览器将LexicalEnvironment及其所有属性(变量)保留在内存中,直到有一个引用它的内部函数
Simply put, a closure is an inner function that has access to the outer(enclosing) function's variables scope chain.
什么是封闭?闭包是一个内部函数,可以访问外部(封闭)函数的变量范围链。
The inner function is called at line 17(line 11 in the preceding listing) and executes at line 11(the listing's line 5).
Inner函数在第17行调用(前面清单中的第11行)并在第11行上执行(该清单的第5行)。
Whenever the addGlobalQueryOnClick function is called a new inner function is created(and a closure formed by its assignment).
无论什么时候调用addGlobalQueryOnClick函数,都会创建一个新的内部函数(通过赋值构成了闭包)。
That's why the inner function can access the variables defined in outer function and the global scope.
这就是为什么inner函数可以访问在outer函数和全局作用域中定义的变量的原因。
Despite intending only to test our outer function,we are implicitly testing the inner function as well, since our desired result depends on its behaviour.
尽管我们想要测试的是外部函数,但我们隐性的将内部函数也包含进来,因为我们期望的结果是依赖于这个内部函数的行为的。
(Strictly speaking, the inner function accesses the helper function's copy of the variable, rather than having anything plugged in.).
严格地说,内部函数访问辅助函数的变量副本,而不是插入任何东西。
As we know from the second chapter, local variables, inner functions and formal parameters are stored in the activation object of the given function:..
正如我们知道的,局部变量、内部函数、形式参数储存在给定函数的激活对象中。
Critically, the inner functions have access to the names in the environment where they are defined(not where they are called).
最重要的是,内部函数可以访问它们被定义的环境中的名称(而不是它们被调用的位置)。
The displayName() function is an inner function that is defined inside init() and is only available within the body of the init() function..
DisplayName()是一个内部函数--定义于init()之内且仅在该函数体内可用。
Note that the inner function cannot call the outer function's arguments object, however, even though it can call the outer function's parameters directly.
注意,内部函数不能调用外部函数的arguments对象,但是,即使它可以直接调用外部函数的参数。
Foo is undefined in the inner function, whereas the reference to the local variable self remains in scope and is accessible there.
Foo没有在内部函数中被定义,相反,指向到本地的变量self保持在范围内,并且可以访问。
As in other cases of inner functions in the language, variables from the enclosing scope can be"captured" in the inner function..
与语言中其他地方使用的内部函数一样,封闭作用域中的变量可以在内部函数中被「捕获」。
By looking at Javascript inner functioning you'll become a better Javascript developer, even if you can't master every single detail.
通过查看JavaScript内部功能,您将成为一个更好的JavaScript开发人员,即使您不能掌握每一个细节。
Results: 30, Time: 0.0293

Word-for-word translation

Top dictionary queries

English - Chinese