The wrapper function can be an arrow function: setTimeout(() => {myArray.myMethod()}, 2.0*1000); // prints "zero,one,two" after 2 seconds ...
確定! 回上一頁