for(var i=0; i<10; i++){ setTimeout(function() { console.log(i); },0)}請問輸出什么?如果要輸出'0123456789',要怎么改?
一道js面試題
ibeautiful
2018-08-01 14:21:27