diff --git a/docs/promise.md b/docs/promise.md index 053be71..c468a14 100644 --- a/docs/promise.md +++ b/docs/promise.md @@ -122,7 +122,7 @@ var getJSON = function(url) { client.send(); function handler() { - if ( this.readyState !== 4 ) { + if (this.readyState !== 4) { return; } if (this.status === 200) {