Skip to content
This repository has been archived by the owner on Jan 26, 2022. It is now read-only.

[spec] change errors from a prototype accessor to an own data property #64

Merged
merged 1 commit into from
Jun 2, 2020
Merged

Conversation

ljharb
Copy link
Member

@ljharb ljharb commented May 24, 2020

Closes #38.

spec.html Outdated Show resolved Hide resolved
spec.html Outdated Show resolved Hide resolved
@anba
Copy link

anba commented May 28, 2020

Was this intentionally changed to be an enumerable property? Before #43, errors was non-enumerable, which matches the message property on error objects.

@bakkot
Copy link
Collaborator

bakkot commented May 28, 2020

Yeah, it should be non-enumerable: see #31 / #14 (comment).

@ljharb
Copy link
Member Author

ljharb commented May 28, 2020

Whoops, thanks. Will fix.

spec.html Outdated Show resolved Hide resolved
@mathiasbynens
Copy link
Member

This PR now includes 2 unrelated commits. Could you rebase?

@ljharb
Copy link
Member Author

ljharb commented May 29, 2020

whoops, not sure how i did that. fixed!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Should errors be a prototype accessor that returns the value of an internal slot?
6 participants