mirror of
https://github.com/ruanyf/es6tutorial.git
synced 2026-10-20 08:17:32 +00:00
+1
-1
@@ -79,7 +79,7 @@ let promise = new Promise(function(resolve, reject) {
|
||||
});
|
||||
|
||||
promise.then(function() {
|
||||
console.log('resolved.');
|
||||
console.log('resolved');
|
||||
});
|
||||
|
||||
console.log('Hi!');
|
||||
|
||||
Reference in New Issue
Block a user