【发布时间】:2018-01-07 22:25:59
【问题描述】:
javascript 调试器在第 3 行说大括号是一个意外标记。 谁能帮我解决这个问题?
setTimeout(rollDice, (multiplier * bconfig.wait) + Math.round(Math.random()
* 1000));
};
toggleHiLo = function() {
if (hilo === 'hi') {
hilo = 'hi';
} else {
hilo = 'hi';
}
};
var num = parseFloat($('#balance').html());
bconfig.startbal = num;
bconfig.want = num ;
bconfig.autoexit = num - 10000;
rollDice();
【问题讨论】:
-
它们是意外的,你可以完全删除它们
-
我能问你为什么放它吗?它的开口在哪里?
标签: javascript unexpected-token