a), i, , , , i i . , ( ), . , , .
, i, N pos ( N ), , setTimeout, .
b) .
c) This is the time in milliseconds of delay. In the algorithm, it seems that it will crop the size of the first element by 10 milliseconds, the second by 20, etc.
These functions work as follows:, setTimeout(callback, milliseconds)and the function can be anonymous, therefore it setTimeout(function() { ... }, 10)is a valid syntax.
Good luck
source
share