英语单词查询
enumerable
「enumerable」的意思
adj. 可列举的;可点数的
adj.可点数的,可列举的
「enumerable」的用法
enumerable可枚举的 - 在编程中,可枚举的通常指的是可以被遍历的对象或数据结构。
「enumerable」的例句
The array is enumerable.
这个数组是可枚举的。
We can iterate over the enumerable properties of an object.
我们可以遍历对象的可枚举属性。
The for...of loop is used to iterate over iterable and enumerable objects.
for...of 循环用于遍历可迭代和可枚举的对象。
In JavaScript, arrays are enumerable by default.
在 JavaScript 中,数组默认是可枚举的。
The Array.prototype.forEach() method executes a provided function once for each array element.
Array.prototype.forEach() 方法对数组中的每个元素执行一次提供的函数。
Enumerable properties are those that appear in a for...in loop.
可枚举属性是在 for...in 循环中出现的属性。
In PHP, arrays can be made iterable using the Iterator interface.
在 PHP 中,可以使用 Iterator 接口使数组可迭代。
The foreach statement iterates over arrays and objects.
foreach 语句用于遍历数组和对象。
The count() function returns the number of elements in an array or something in an object.
count() 函数返回数组或对象中的元素数量。
The array_keys() function returns all the keys or a subset of the keys of an array.
array_keys() 函数返回数组中的所有键或键的子集。