Skip to content

util: unenumerable properties should be visible #1598

@silverwind

Description

@silverwind
> var o = {}; Object.defineProperty(o, "a", {get: function(){return 1}})
{}
> var o = {}; Object.defineProperty(o, "a", {get: function(){return 1}, enumerable:true})
{ a: [Getter] }

Same in Chrome:

screenshot_49

cc: @monsanto

Metadata

Metadata

Assignees

No one assigned

    Labels

    utilIssues and PRs related to the built-in util module.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions