nested function信息详情

nested function发音

意思翻译

[数]嵌套函数

相似词语短语

nested───v.筑巢;嵌入(nest的过去分词);adj.嵌套的,内装的

neatly nested───整齐地嵌套

nested loop───[计]嵌套循环

nested loops───嵌套循环

nested exception───嵌套异常

nested pcr───嵌套式pcr;[医]巢床PCR

function───n.功能;[数]函数;职责;盛大的集会;vi.运行;活动;行使职责

leveling function───调平功能

basic function───基本功能;[数]基本函数

双语使用场景

Avoid multiple nested function calls. Use composition instead.───请避免使用多层嵌套函数调用,使用组合函数去替代。

What if we need to use a variable that is defined outside a nested function.───那如果我们需要使用定义在嵌套函数外面的变量呢?

When a nested function is used in this way, it is often explicitly called a closure.───当某个内嵌函数被这样使用时,它通常就被称作闭包。

If the nested function is used only within the outer function, however, the only reference to the nested function is in the call object.───如果内嵌函数只是在外部函数中使用到,那么对内嵌函数的唯一引用就是调用对象自己。

DBG supports back-tracking, shows local variables and parameters being passed to all nested function calls at any point of execution.───DBG支持后台跟踪,显示本地变量和在任意的执行点为所有嵌套的函数调用传递参数。

Consider the following code, which includes a function that returns a nested function.───思考一下下面的代码,它包括一个能够返回内嵌函数的函数。

What if we need to use a variable that is defined outside a nested function. Consider this contrived example.───那如果我们需要使用定义在嵌套函数外面的变量呢?考虑下面的例子。

Here is an alternate way to accomplish the same, if you feel unfamiliar with nested function calls───好吧,如果你不太熟悉嵌套的函数调用,这是另一种写法

英语使用场景