SOURCE

let cur = () => {console.log(1);};
// setInterval(cur, 1000);
// setTimeout(cur, 1000);
setTimeout(()=>{
    cur();
}, 1000);
cur = () => {console.log(2);};


console 命令行工具 X clear

                    
>
console