Skip to content

Commit 5c40c2b

Browse files
committed
Format style
1 parent 08a6239 commit 5c40c2b

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
@@ -118,7 +118,7 @@ function loadImageAsync(url) {
118118
```javascript
119119
const getJSON = function(url) {
120120
const promise = new Promise(function(resolve, reject){
121-
const handler = function () {
121+
const handler = function() {
122122
if (this.readyState !== 4) {
123123
return;
124124
}

0 commit comments

Comments
 (0)