-1
爲什麼此代碼返回錯誤。爲什麼在此代碼中出現錯誤?
var old_newOther = newOther;
consoleParse = function(e){
old_newOther(e);
}
(function($) {
newOther = function(e){
for(var k in e){
if(isset(e[k].onMouseDown)){
TalkWithNPC(e[k].id);
}
}
return e;
}})(jQuery);
VM413:29 Uncaught TypeError: (intermediate value)(...) is not a function(…)
這是相同的問題,在 http://stackoverflow.com/questions/36278393/typeerror-intermediate-value-is-undefined –