| 1 |
[].findLast(fn); |
| 2 |
[].findLastIndex(fn); |
| 3 |
|
| 4 |
[].asIndexedPairs(); |
| 5 |
|
| 6 |
Iterator.from({ |
| 7 |
next: () => ({ done: Math.random() > .9, value: Math.random() * 10 | 0 }) |
| 8 |
}).forEach(console.log).toArray(); |
| 9 |
|
| 10 |
AsyncIterator.from([1, 2, 3, 4, 5, 6, 7]) |
| 11 |
.drop(1) |
| 12 |
.take(5) |
| 13 |
.filter(it => it % 2) |
| 14 |
.groupBy(it => id % 4) |
| 15 |
.map(it => it ** 2) |
| 16 |
.toArray() |
| 17 |
.then(console.log); |
| 18 |
|
| 19 |
[1, 2, 3, 4, 5, 6, 7, 7].uniqueBy(x => x).groupBy(x => x % 2); |
| 20 |
|
| 21 |
Number.range(1, 2); |
| 22 |
BigInt.range(1n, 2n); |
| 23 |
|
| 24 |
Array.isTemplateObject((x => x)`a${ x }z`) |
| 25 |
|
| 26 |
new Map([['x', 1]]).emplace('x', { update: x => x + 1, insert: () => 0}); |
| 27 |
|
| 28 |
/x/.dotAll; |
| 29 |
/x/.sticky |
| 30 |
|
| 31 |
Symbol.asyncDispose |
| 32 |
Symbol.matcher |
| 33 |
Symbol.matchAll |
| 34 |
Symbol.metadata |
| 35 |
Symbol.replaceAll |
| 36 |
|
| 37 |
new URL(url); |
| 38 |
|
| 39 |
const foo = [1, 2, 3].groupByToMap(bar); |
| 40 |
|
| 41 |
const push = [].push.unThis(); |
| 42 |
|
| 43 |
Function.isConstructor; |
| 44 |
|
| 45 |
throw new DOMException(); |
| 46 |
|
| 47 |
structuredClone(72); |
| 48 |
|
| 49 |
btoa('hi'); |
| 50 |
|
| 51 |
foo.indexed; |
| 52 |
bar.with; |
| 53 |
buz.push; |
| 54 |
fuz.__proto__; |