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

Object.values() is not resolving getters #401

Open
277hz opened this issue Jun 26, 2021 · 0 comments
Open

Object.values() is not resolving getters #401

277hz opened this issue Jun 26, 2021 · 0 comments
Labels

Comments

@277hz
Copy link

277hz commented Jun 26, 2021

>> Object.values({get a() {return 1;}})
[
 <empty>
]

> Object.values({get a() {return 1;}})
[ 1 ]

https://github.com/nginx/njs/blob/master/src/njs_object.c#L962
https://github.com/nginx/njs/blob/master/src/njs_object.c#L991
https://github.com/nginx/njs/blob/master/src/njs_value.c#L1065-L1071

@xeioex xeioex added the bug label Jun 26, 2021
@xeioex xeioex changed the title Object.values is not resolving getters Object.values() is not resolving getters Mar 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants