Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement __defineGetter__ and __defineSetter__ #1203

Merged
merged 1 commit into from Jun 25, 2022

Conversation

lahma
Copy link
Collaborator

@lahma lahma commented Jun 25, 2022

Not endorsed by spec, but easy addition and allows legacy to work.

/cc @AudriusButkevicius

@lahma lahma enabled auto-merge (squash) June 25, 2022 16:26
@lahma lahma merged commit 6b2fcd4 into sebastienros:main Jun 25, 2022
@lahma lahma deleted the define-get-and-set branch June 25, 2022 16:32
@scarletquasar
Copy link

Good, but there will be an option to enable/disable legacy features?

@lahma
Copy link
Collaborator Author

lahma commented Jun 25, 2022

No, it's standard runtime feature. You should be able to overwrite it though. And again, closest prototype wins.

@AudriusButkevicius
Copy link

Nice! I can rid of my hacks.

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.

None yet

3 participants