mirror of
https://github.com/anomalyco/opencode.git
synced 2026-11-29 11:42:17 +00:00
3 lines
88 B
JavaScript
3 lines
88 B
JavaScript
const fns = []
|
|
for (let i = 0; i < 3; i++) fns.push(() => i)
|
|
return fns.map((f) => f())
|