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
The following code:
let a = {} Object.defineProperty(a, 'someProp', { get() { return 42 } })
Did I do something wrong or is it a bug?
2: Object.defineProperty(a, 'someProp', { ^ Object.defineProperty. Property not found in 2: Object.defineProperty(a, 'someProp', { ^ object literal
The text was updated successfully, but these errors were encountered:
Sure it's a bug.
See this poor definition.
I tried to improve at a bit (not enough for your case though) but with no success: maintainers are not too fast.
Sorry, something went wrong.
Related: #4742 (Object.create) as well as #285 (from 2015!)
Object.create
Pointing to this comment especially, too: #4742 (comment)
The definition has been updated in the JS lib, but it looks like value is still special-cased somewhere in the ML code.
value
No branches or pull requests
The following code:
Did I do something wrong or is it a bug?
The text was updated successfully, but these errors were encountered: