Skip to content

Commit c81a2de

Browse files
zihua-1022ruanyf
authored andcommitted
Update promise.md
console.log的输出和展示结果不一致
1 parent 4a7fa89 commit c81a2de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/promise.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ let promise = new Promise(function(resolve, reject) {
7979
});
8080

8181
promise.then(function() {
82-
console.log('resolved.');
82+
console.log('resolved');
8383
});
8484

8585
console.log('Hi!');

0 commit comments

Comments
 (0)