📅  最后修改于: 2022-03-11 15:03:59.577000             🧑  作者: Mango
function func(){
return true;
}
isBool = func();
console.log(typeof (isBool)); // output - string
let isBool = func();
console.log(typeof (isBool)); // output - boolean