js
https://www.cnblogs.com/Three-Z/p/QQ--269571627.html
https://www.cnblogs.com/Three-Z/p/QQ--269571627.html
https://www.easywechat.com/tutorials
=========================
let a = ' ';
if(a){
console.log('abc');
}
else {
console.log('def');
}
也有类似的逻辑判断方式
=============================