Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Promise.reject to match official ECMA-262 spec. #352

Merged
merged 1 commit into from
Jun 17, 2015

Conversation

cscott
Copy link
Collaborator

@cscott cscott commented Jun 17, 2015

There was a last-minute change to Promise.reject to make it better match Promise.resolve. See:
http://www.ecma-international.org/ecma-262/6.0/#sec-promise.reject

There was a last-minute change to `Promise.reject` to make it better
match `Promise.resolve`.  See:
http://www.ecma-international.org/ecma-262/6.0/#sec-promise.reject
@ljharb
Copy link
Collaborator

ljharb commented Jun 17, 2015

I'll merge this now, but can you follow up with a test that covers this?

ljharb added a commit that referenced this pull request Jun 17, 2015
Update `Promise.reject` to match official ECMA-262 spec.
@ljharb ljharb merged commit 7b27b38 into paulmillr:master Jun 17, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants