摘要:
var Interface = function(name,methods){ if(arguments.length != 2){ throw new Error("Interface constructor called with" + arguments.length+"arguments,but expected exactly 2."); } this.name; this.methods = []; for(var i = 0,len = methods.length; i < len; i++){ if(typeo...
阅读全文