Chakracore: Update `Object.getOwnPropertyDescriptors` with spec changes

Created on 26 Jul 2016  路  4Comments  路  Source: chakra-core/ChakraCore

Per https://github.com/tc39/ecma262/pull/593 - if the result of [[GetOwnPropertyDescriptor]] is undefined, it should _not_ be stored on the returned descriptors object.

ES Spec Changed Fixed

Most helpful comment

@ianwjhalliday Yep - it should be a straightforward change.

All 4 comments

it should not _not_ be stored

@ljharb double not intentional or typo? That is to clarify, you are saying it should be stored on the returned descriptors object?

fyi @jordonwii

Typo, sorry - updated.

undefined descriptors must not be present on the return of Object.getOwnPropertyDescriptors.

@ljharb cool

@jordonwii want to take this?

@ianwjhalliday Yep - it should be a straightforward change.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

d3x0r picture d3x0r  路  5Comments

basdl picture basdl  路  3Comments

obastemur picture obastemur  路  4Comments

kunalspathak picture kunalspathak  路  4Comments

tommyZZM picture tommyZZM  路  5Comments