求助,请问
container.appendChild(newNode);
这一行在chrome里检查报错,说
Uncaught TypeError: Cannot read property 'appendChild' of undefined
container 其实是 var doms = { gameDiv: document.getElementById('game'), nextDiv: document.getElementById('next') }
看看container是什么