We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
obj = { get [x] () { return 1 }, set [x] (value) { valueSet = value } };
emits
obj = {}; objget [x] = () { return 1 }; objset [x] = (value) { valueSet = value };
The text was updated successfully, but these errors were encountered:
See also #20 about getters and setters in general.
Sorry, something went wrong.
I think the only way to support this concisely is by using Object.defineProperty which isn't supported in IE8.
Would still be better than invalid code.
We could just bail if target is IE8 and we try to transpile getters or setters.
Note that in class bodies computed getters and setters throw an error, and I implemented my last suggestion in 9d0e728.
No branches or pull requests
emits
The text was updated successfully, but these errors were encountered: