为什么会出现这种问题,求各位大佬解答一下。
我跟着视频敲的,为什么出不来“true”?
package Text;
public class text01 {
public static void main(String[] args) {
// TODO Auto-generated method stub
/*
* Boolean 布尔值
* 布尔值只有两个
* true
* -表示真
* false
* -表示假
*/
var bool = true;
console.log(bool);
}
}