Searched refs:integers_from (Results 1 – 1 of 1) sorted by relevance
/external/v8/test/mjsunit/es6/ |
D | iteration-semantics.js | 66 function* integers_from(n) { generator 180 assertEquals(45, fold(sum, 0, take(integers_from(0), 10))); 182 assertEquals(90, fold(sum, 0, take(skip_every(integers_from(0), 2), 10))); 184 assertEquals(10, nth(integers_from(0), 10));
|