阅读背景:

JS:在调用之前添加函数,如何不接收错误?

来源:互联网 

I have a function that adds a skill button to the game I am creating. One of the things I would like to do at the game start-up is add some of the functions in my INIT object. However, because i'm calling INIT and these functions BEFORE the actual function gets read by javascript, it throws a error. Now I could just leave my code as it, but I don't like my code dangling around. I want it neat and tidy. Is there a way to fix this? to t




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: