js-on-sx: for-in walks proto chain with shadowing, stops at native prototypes
Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Failing after 41s

This commit is contained in:
2026-05-09 17:01:31 +00:00
parent 3d821d1290
commit 8ae7187c55
3 changed files with 39 additions and 1 deletions

View File

@@ -948,7 +948,7 @@
(if
(= iter-kind "of")
(list (js-sym "js-iterable-to-list") iter-sx)
(list (js-sym "js-object-keys") iter-sx))))
(list (js-sym "js-for-in-keys") iter-sx))))
(list
(js-sym "for-each")
(list