📜  javascript 计数点击次数限制 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:04:29.259000             🧑  作者: Mango

代码示例1
let count = 0;
count++;
console.log(count);
if (count>6){
document.getElementById("btn").disabled = true;
alert("Game over!!!");

}