如题,为何alert(!"false");//false????alert(!"true");//false返回值一样呢?
"true"或"false"在JS看来都是字符串字符串只要不是空串,转换为Boolean型都是为true
而不带引号才是指Boolean类型:alert(!false);