function foo(num){ this.count=num;}foo.count=0;alert(foo.count);//0foo.call(foo,3);alert(foo.count)//3;這是一個關于返回值的問題,為啥第一個alert(...)返回0;第二個alert(...)返回是3呢??還請諸位指教!謝謝!
關于一個返回值的問題
慕仙森
2018-10-15 12:15:07