📅  最后修改于: 2022-03-11 15:03:19.097000             🧑  作者: Mango
function example(){
return true;
}
if(example()){
console.log('hello');
}else{
console.log('bye');
}
// result: 'hello'