This relates to something aclaymore mentioned a while back:
I can’t find a link but I have a vague memory of someone saying that this would go against a key invariant of JS - that accessed or writing to a variable in strict mode will never run arbitrary code.
Assuming accurate, while allowed for accessor properties as seen with claudepache's example, the original example would violate this given that isEligible
is a variable and not a property.