Skip to content

Conversation

@rwalczyna
Copy link
Contributor

In ES6 accessors of built in object are by default configurable. ES 6 21.2.6.1
Also lastIndex property of RegExp object is created when only used. ES 6 17

JerryScript-DCO-1.0-Signed-off-by: Rafal Walczyna r.walczyna@samsung.com

Copy link
Member

@rerobika rerobika left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@rerobika rerobika requested a review from dbatyai May 7, 2020 12:47
Copy link
Member

@dbatyai dbatyai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please update the unicode and sticky accessors as well.

In ES6 accessors of built in object are by default configurable.
Also lastIndex property of RegExp object is created when only used.

JerryScript-DCO-1.0-Signed-off-by: Rafal Walczyna r.walczyna@samsung.com
@rwalczyna rwalczyna force-pushed the FixRegexpAccessors branch from d444147 to f103f6d Compare May 8, 2020 06:07
@rwalczyna
Copy link
Contributor Author

I updated the commit. I changed also descriptors of flags accessor.

Copy link
Member

@dbatyai dbatyai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dbatyai dbatyai merged commit aa1777b into jerryscript-project:master May 8, 2020
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

Successfully merging this pull request may close these issues.

3 participants