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

Prototype entries #7

Open
3 tasks
icmx opened this issue Mar 8, 2022 · 0 comments
Open
3 tasks

Prototype entries #7

icmx opened this issue Mar 8, 2022 · 0 comments
Assignees
Labels
bug Something isn't working enhancement New feature or request

Comments

@icmx
Copy link
Owner

icmx commented Mar 8, 2022

There should be an option to count/touch prototype entries too. For instance:

const error = new Error('example');
Object.entries(error);
// -> returns [], however there are at least error.message === 'example' and error.toString()

This should be implemented in these functions:

  • isEmpty
  • filterObject
  • mapObject
@icmx icmx added bug Something isn't working enhancement New feature or request labels Mar 8, 2022
@icmx icmx self-assigned this Mar 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant