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

#19 default enumerable is false instead of true #14

Open
brjson opened this issue Jan 6, 2024 · 0 comments
Open

#19 default enumerable is false instead of true #14

brjson opened this issue Jan 6, 2024 · 0 comments

Comments

@brjson
Copy link

brjson commented Jan 6, 2024

In the answer of the question 19 you wrote: "By default enumerable is true when creating object.". However the default may be 'false'. Please check it again.

reference:

[https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/defineProperties#enumerable]

[enumerable]
true if and only if this property shows up during enumeration of the properties on the corresponding object. Defaults to false.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant