请问这是什么问题啊??
来源:4-11 小游戏上下铅笔形管道的创建-2
用户5537802792
2018-04-07
gameThirdScriptError
Maximum call stack size exceeded
RangeError: Maximum call stack size exceeded
at Array.join (native)
at http://127.0.0.1:65125/game/__dev__/WAGame.js:3:13196
at http://127.0.0.1:65125/game/js/runtime/Pencil.js:12:16
at require (http://127.0.0.1:65125/game/__dev__/WAGame.js:3:13675)
at http://127.0.0.1:65125/game/__dev__/WAGame.js:3:13424
at http://127.0.0.1:65125/game/js/runtime/UpPencil.js:12:16
at require (http://127.0.0.1:65125/game/__dev__/WAGame.js:3:13675)
at http://127.0.0.1:65125/game/__dev__/WAGame.js:3:13424
at http://127.0.0.1:65125/game/js/Director.js:13:17
at require (http://127.0.0.1:65125/game/__dev__/WAGame.js:3:13675)
console.error
errorReport @ WAGame.js:3
thirdErrorReport @ WAGame.js:3
(anonymous) @ WAGame.js:3
(anonymous) @ WAGame.js:9
(anonymous) @ WAGame.js:4
a @ gamePage.html:1
window.onerror
1回答
-
傅猿猿
2018-04-08
你是在浏览器种跑的把,你调用的时候递归了,也就是说已经栈溢出了,这个只能一行一行去对了,没法,有时候循环引用就会这样,以后所有前端开发遇到这种情况就是这个原因
022018-05-01
相似问题