opencode/packages/codemode/src
kommander 3dbee2a738 fix(codemode): convert Array arguments, lengths and sort elements through ToPrimitive
The integer arguments of the Array methods, length = object, and the elements a default sort compares call the program's own valueOf/toString, as do String.fromCharCode/fromCodePoint, JSON.parse, and the string iterator's receiver. repeat(NaN) is "", as ToIntegerOrInfinity makes NaN 0.
2026-11-18 18:56:08 +01:00
..
codemode feat(codemode): let an extension name the modules that load its globals (#64516) 2026-11-17 16:59:36 -06:00
language fix(codemode): convert Array arguments, lengths and sort elements through ToPrimitive 2026-11-18 18:56:08 +01:00
index.ts refactor(codemode): split the language layer from Code Mode (#64487) 2026-11-17 15:21:51 -05:00