Files
rose-ash/lib/js
giles f0dffd275d
Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Failing after 45s
js-on-sx: arguments object + Array.from mapFn calling convention
Three related fixes:
1. Every JS function body binds arguments to (cons p1 ... __extra_args__),
   so arguments[k] and arguments.length work as expected.
2. Array.from(iter, mapFn) invokes mapFn through js-call-with-this
   with the index as second arg (was (map-fn x), missing index and
   inheriting outer this).
3. thisArg defaults to js-global-this when omitted (per non-strict ES).
conformance.sh: 148/148.
2026-05-08 15:31:33 +00:00
..