Nu am putut găsi această intrare. Se afișează rezultate aproximative. Verificați ortografia sau propuneți adăugarea acestui termen în dicționar.
使用函数
You can use a function to create a tuple
可以使用函数来创建元组:
In such case it is always possible to use a function call, but this can be cumbersome and inelegant.
在这种情形下总是可能使用函数调用,但是这样做会显得很笨重而且不简洁。
Although you can use a string instead of a function in some situations, we suggest that you use a function whenever possible.
尽管有些情形下可以用字符串代替函数,我们还是建议您尽可能使用函数。
For example, you can't compare a date with a string. You have to use a function to convert the string to a date, or vice versa.
例如,您无法将日期与字符串进行比较。您必须使用函数将字符串转换为日期,反之亦然。
Function properties can replace closures sometimes. For instance, we can rewrite the counter function example from the chapter Variable scope to use a function property
Please note that we use a temporary variable tmp to walk over the list. Technically, we could use a function parameter list instead
请注意,我们使用了一个临时变量 tmp 来遍历链表。从技术上讲,我们可以使用函数的入参 list 来代替:
With JavaScript, when you need a function, use a function.
在 JavaScript 中,当需要某一功能时,使用 函数。
So we should use a Function Expression only when a Function Declaration is not fit for the task. We've seen a couple of examples of that in this chapter, and will see more in the future.
Those languages also need to specify when one function type is a subtype of another-that is, when it is safe to use a function of one type in a context that expects a function of a different type.
Those languages also need to specify when one function type is a subtype of another-that is, when it is safe to use a function of one type in a context that expects a function of a different type.
This is actually the exact same problem with data inside Vue components. So the solution is also the same - use a function for declaring module state (supported in 2.3.0+)
实际上这和 Vue 组件内的 data 是同样的问题。因此解决办法也是相同的 - 使用一个函数来声明模块状态(仅 2.3.0+ 支持):
FONT size=2Function permissions include the functions visible in user interface, such as: user management, report management, indicator management, indicator, query and so on. Function permissions determines whether a role owns the right to use a function.
FONT size=2功能权限包括用户界面可见的功能,如:用户管理、报表管理、指标管理、汇总、查询等,功能权限决定了该角色是否拥有功能的使用权。
Conținut posibil inadecvat
Exemplele au rolul de a te ajuta să traduci cuvinte sau expresii corect si adaptat la context. Nu sunt selectate sau validate manual, așadar pot conține termeni inadecvați. Te rugăm să raportezi exemplele pe care le consideri inadecvate. Traducerile vulgare sau colocviale sunt în general marcate cu roșu sau cu portocaliu.