//情形1 function print(){ this.i = 0; return function(){ console.log(i++); } } var a1 = print(); var a2 = print(); a1(); //0 a1(); //1 a2(); //2 var a3 = new print(); a3(); //3 a3(); //4 //情形2 ...