mirror of
https://github.com/anomalyco/opencode.git
synced 2026-11-29 11:42:17 +00:00
3 lines
120 B
JavaScript
3 lines
120 B
JavaScript
const out = []
|
|
for (const v of ["str", 42, { code: 7 }, null]) { try { throw v } catch (e) { out.push(e) } }
|
|
return out
|