-
-
Notifications
You must be signed in to change notification settings - Fork 402
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 Object.keys
and Object.entries
#1471
Conversation
@jedel1043, done-zo |
Also, I will probably create a new pull request after this one to add |
If |
I just realized there are several https://github.com/boa-dev/boa/blob/62ad20cfde0a545f35d8af07c36cd5d32a7479f4/boa/src/builtins/map/map_iterator.rs Commenting this as a reminder to refactor these when your PR merges. If you're interested, you can fix this, but it's not necessary to approve this PR. |
@jedel1043, @HalidOdat, committed the changes, guys! |
Also added the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just small nitpicks before approving. Everything else looks good!
Co-authored-by: jedel1043 <[email protected]>
Co-authored-by: jedel1043 <[email protected]>
Co-authored-by: jedel1043 <[email protected]>
Thanks for suggestions, should be committed now! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
Fixed tests:
|
Object.keys
and Object.entries
This Pull Request adds the
Object.keys(...)
function.It's my first contribution, sorry if something is missing, incorrect or dirty, I tried to implement it to-spec.