根据.delay()上的jQuery文档,
The .delay() method is best for delaying between queued jQuery
effects. Because it is limited—it doesn’t,for example,offer a way to
cancel the delay—.delay() is not a replacement for JavaScript’s native
setTimeout function,which may be more appropriate for certain use
cases.
有人可以扩大这个吗?什么时候更适合使用.delay(),什么时候最好使用.setTimeout()?