// makeClass - By John Resig (MIT Licensed)
function makeClass(){
return function(args){
if ( this instanceof arguments.callee ) {
if ( typeof this.init == "function" )
this.init.apply( this, args.callee ? args : arguments );
} else
return new arguments.callee( arguments );
};
}
Run Code Online (Sandbox Code Playgroud)
尤其是这条线 this.init.apply( this, args.callee ? args : arguments );
args和之间有什么区别arguments?能args.callee永远false?