在JavaScript中,
var a = ''; var b = (a) ? true : false;
var b将被设置为false。
var b
false
这是一个可靠的定义行为吗?
用户名或邮箱地址
密码