var x = "abc";
function a(b, c, d) {
}
var message = "It's a beautiful day!";
fetch("https://xxx/api/data")
.then(response => response.json())
.then(data => {
console.log(data);
});
let play = function(){
this.installBox();
this.step1(function(){
this.step2(function(){
this.step3(function(){
this.step4(function(){
this.step5(function(){
this.step6(function(){
this.step7(function(){
this.step8(function(){
this.step9(function(){
this.stepN(function(){
});
});
});
});
});
});
});
});
});
});
}
return kRegex.test(value);
if (kRegex.test(value)) {
return true;
} else {
return false;
}
if (userAge >= 18) {
if (userAge <= 65) {
} else {
}
} else {
}
if (x > 42) {
}
!!'fuck'
~~3.14159 === parseInt(3.14159)
(~~(Math.random()*((1<<24)-1))).toString(16)+'00000').substring(0,7)
parseInt('1000000000000000000000000', 2) === (1 << 24)
Math.pow(2,24) === (1 << 24)
let startDay = 0
let endDay = 1
switch (query.birth) {
case '0~1' :
startDay = 0
endDay = 1
break
case '1~8' :
startDay = 1
endDay = 8
break
case '8~16' :
startDay = 8
endDay = 16
break
case '16~31' :
startDay = 16
endDay = 31
break
case '31~999' :
startDay = 31
endDay = 999
break
}
if (productClass === Card && action === BUYCARD) {
seneca.sendSms(smsData, params)
}
if (productClass === Card && action === TURNCARD) {
seneca.patchStatus(productId)
}
if (productClass === Card && action === REPLACE) {
seneca.changeStatus( crm , Card )
}
if (productClass === Lesson ) {
seneca.changeStatus( course , Lesson )
}
...