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:
parent
d7f742af69
commit
8f588d02c5
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user