0
這是整個功能:在幫助中左手無效?
$(document).keyup(function(e) {
delete game.keys[e.keyCode ? e.keyCode : e.which] = true;
});
這是引發錯誤行:
delete game.keys[e.keyCode ? e.keyCode : e.which] = true;
非常新的JavaScript,請幫助。
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/delete –
刪除'= TRUE; – Tushar