Mozilla 表达式 __noSuchMethod__
复制代码 代码如下://只能在firefox下运行 var test = { name: "puterjam", __noSuchMethod__: function(name, args){ alert(["Your call an error function [",name,"]. Arguments list: [",args,"]"].join("")); } } test.hello(); test.helloWorld("china","sh...