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

objects.entries #202

Closed
3 tasks done
evanplaice opened this issue Jan 12, 2020 · 1 comment
Closed
3 tasks done

objects.entries #202

evanplaice opened this issue Jan 12, 2020 · 1 comment
Labels
enhancement New feature or request operator

Comments

@evanplaice
Copy link
Member

evanplaice commented Jan 12, 2020

Returns an array of a given object's own enumerable string-keyed property [key, value] pairs.

Checklist

  • implementation
  • tests
  • jsdoc

Details

console.log(Object.entries({ 0: 'a', 1: 'b', 2: 'c' }));
> [ ['0', 'a'], ['1', 'b'], ['2', 'c'] ]

References

@evanplaice
Copy link
Member Author

evanplaice commented Jan 13, 2020

Added in v0.78

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request operator
Projects
None yet
Development

No branches or pull requests

1 participant