Lines Matching refs:done
51 var ret = { value: this.n, done: this.n == max };
193 results([{ done: false },
194 { value: 1, done: false },
195 // A missing "done" is the same as undefined, which
198 // Not done.
199 { value: 3, done: 0 },
200 // Done.
201 { value: 4, done: 42 }])));
206 results([10, "foo", /qux/, { value: 37, done: true }])));
211 results([one_time_getter({ value: 1 }, 'done', false),
212 one_time_getter({ done: false }, 'value', 2),
213 { value: 37, done: true },
214 never_getter(never_getter({}, 'done'), 'value')])));
319 // results([one_time_getter({ value: 1 }, 'done', false),
320 // one_time_getter({ done: false }, 'value', 2),
321 // { value: 37, done: true },
322 // never_getter(never_getter({}, 'done'), 'value')]
348 results([{value: 1}, {}, value, {value: 2}, {done: true}]));