SOURCE

let var1 = true;
alert(typeof +var1);
console 命令行工具 X clear

                    
>
console