We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Promise.resolve = function(value) { var promise = new Promise(function(resolve, reject) { resolvePromise(promise, value, resolve, reject) }) return promise }
这是代码中的实现。
和浏览器中的执行无法对应
var a = Promise.resolve(1) var b = Promise.resolve(a) a === b // true
The text was updated successfully, but these errors were encountered:
Fix Promise.resolve (xieranmaya#5)
f74cf7a
No branches or pull requests
这是代码中的实现。
和浏览器中的执行无法对应
The text was updated successfully, but these errors were encountered: