mirror of
https://github.com/vercel-labs/scriptc.git
synced 2026-10-25 06:24:27 +08:00
* Expand static Effect support across common APIs * Preserve compiler parity across expanded Effect patterns * Fix compiler regressions exposed by Effect coverage * Bound shared type conversion traversal * Clarify conversion contracts and tidy fixtures * Run every Effect fixture in CI shards * Preserve inferred array assignments in concurrent Effect programs * Record inferred array fixture compiler ordering
7 lines
312 B
TypeScript
7 lines
312 B
TypeScript
const values = new Set([20, 22]);
|
|
const iterator = values[Symbol.iterator]();
|
|
console.log(iterator.next().value, iterator.next().value, iterator.next().done);
|
|
const entries = new Map([["answer", 42]]);
|
|
const first = entries[Symbol.iterator]().next();
|
|
console.log(first.done, first.value?.[0], first.value?.[1]);
|