1
0
mirror of https://github.com/ruanyf/es6tutorial.git synced 2025-05-25 19:22:21 +00:00

统一 if 语句括号里的空格

handle() 函数里 有两个 if ,为什么里面的空格不同?
This commit is contained in:
zaxlct 2016-04-13 15:23:27 +08:00
parent d7f742af69
commit 8f588d02c5

View File

@ -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) {