Skip to content

Conversation

mhofman
Copy link

@mhofman mhofman commented Oct 9, 2025

Fixes #2008

@WebReflection
Copy link

LGTM but if we could add:

test(() => {
  const struct = functions.makeStruct();
  const array = functions.makeArray();
  assert_true((() => { for (const _ in struct); return true; })());
  assert_true((() => { for (const _ in array); return true; })());
}, "for...in");

then we'd be more covered around the current state, imho.

@tlively
Copy link
Member

tlively commented Oct 10, 2025

This change to intentionally-designed behavior should be discussed with the CG first. Let's keep further discussion on #2008.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

gc-exotic-objects [[PreventExtensions]] should return true.

3 participants