1
//Called when application is started.
function OnStart()
// Set counter default to zero
var $counter = 0
// Display total
$counter.text(counter);
//Subtract
$("#fire").click(function(){
counter = counter - 1;
$counter.text(counter);
카운터에서 1을 뺀 버튼을 만들려고합니다. 매우 바쁩니다. 미안하지만, 어리석은 질문 인 경우 미안합니다.예기치 않은 토큰 var