[removed] inline functions vs predefined functions

前端 未结 13 1895
心在旅途
心在旅途 2020-12-02 11:00

Can any body throw me some arguments for using inline functions against passing predefined function name to some handler.

I.e. which is better:

13条回答
  •  温柔的废话
    2020-12-02 11:37

    The predefined named functions can reduce the JavaScript callback hell issue, which is mentioned at http://callbackhell.com/

提交回复
热议问题