Skip to content

#19 default enumerable is false instead of true #14

Description

@brjson

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions