js 怎么转成bool型var b = eval("false")alert(typeof b) booleanalert(b)false希望能帮到你~1、转换为字符串''+10==='10'2023-04-06JavaScript310