众所周知,js对于非Boolean类型的真假判断比较模糊,当然也可以通过 Boolean() 函数显示判断当前数据类型的布尔值,比如: var str = "Hello"; console.
確定! 回上一頁