linq-js-docs
Version:
use linq and lamdba in javascript
24 lines • 783 B
JSON
{
"title": "迭代器",
"contents": [
{
"title": "什么是迭代器",
"descriptions": [
]
},
{
"title": "ES6中的迭代器",
"descriptions": [
]
},
{
"title": "迭代器的 asEnumerable 方法",
"descriptions": [
{
"type": "description",
"content": "迭代器也存在 asEnumerable 方法, 同样返回一个 IEnumerable 对象. 由于遍历器的特殊性, 通过遍历器的 asEnumerable 方法获得的 IEnumerable 对象的元素只能被迭代一次, 或者其延迟执行的方法只能被执行一次"
}
]
}
]
}