newbie approach: what is a javascript callback function?

前端 未结 7 2160
自闭症患者
自闭症患者 2020-11-28 12:49

Is just a function that executes after one other function that calls it, finishes?

Please I know (almost) nothing about programming, and I find it quite hard to find

7条回答
  •  一向
    一向 (楼主)
    2020-11-28 13:36

    A callback function is "A reference to executable code, or a piece of executable code, that is passed as an argument to other code."

    Here is a good article to help understand what is a "callback" function.

提交回复
热议问题