mirror of
https://github.com/anomalyco/opencode.git
synced 2026-11-29 11:42:17 +00:00
1 line
230 B
JavaScript
1 line
230 B
JavaScript
return [Array.from({ length: 3 }, (_, i) => i * i), Array.from("abc"), Array.from(new Set([1, 1, 2])), Array.isArray([]), Array.isArray("a"), new Array(3).fill(0), [[1, [2]], [3]].flat(), [1, 2, 3].lastIndexOf(3), Array.of(7, 8)]
|