Skip to content

fix own property lookup for primitive values #250

Open
@drsm

Description

@drsm
>> Object.getOwnPropertyDescriptor(1, 'toFixed')
{
 value: [Function: native],
 writable: true,
 enumerable: false,
 configurable: true
}
>> 1..hasOwnProperty('toFixed')
true

test262: built-ins/Symbol/prototype/description/is-not-own-property.js

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions