在 英语 中使用 When a function 的示例及其翻译为 中文
{-}
-
Political
-
Ecclesiastic
-
Programming
When a function is used as a constructor(with the new keyword), its this is bound to the new object being constructed.
When a function is called, a block is reserved on the top of the stack for local variables and some bookkeeping data.
When a function returns a function, that is when the concept of closures becomes more relevant.
Unit testing was a staple of the FORTRAN days, when a function was a function and was sometimes worthy of functional testing.
When a function is called, all variable names declared within the function are added to the scope.
Next let's add another keyword to let the engine know exactly when a function being invoked is asynchronous and is going to return a promise.
When a function is called using call() or apply(), or bind(), this refers to the first argument passed to these methods.
This makes sense, as Mammal has no definition of walk, and these“pure_virtual” entries are inserted by GCC when a function is(unsurprisingly) purely virtual.
When a functioning pituitary tumor makes extra hormones, the signs and symptoms will depend on the type of hormone being made.
Mostly this problem appears when a function uses free variables.
This is often used when a function returns multiple values.
You can use defer for any purpose, such as logging when a function exits.
First, when a function f is created, it is not created in an empty space.
When a function calls another function, a new local symbol table is created for that call.
The key to remember is that when a function gets declared, it contains a function definition and a closure.
When a function completes, all of its local variables by default are destroyed.
When a function calls another function, a new local symbol table is created for that call.
When a function is created, it inherits the environment from the function that created it.
It appears when a function is returned“up”(to the outside) from another function and uses already mentioned above free variables.