JavaScript-回调函数

回调函数:A callback is a function that is  passed as an argument to another function,and is excuted after its parent function has completed. 回调函数就是一个参数,将这个函数作为参数传到另一个函数里面,当那个函数执行完之后,再执行传进去的这个函数。这个过程就叫做回调。
相关文章
相关标签/搜索