SOURCE

var x = 1;

function myFunction(){
    console.log(x);

    
}

myFunction();
console 命令行工具 X clear

                    
>
console