JavaScript function declaration

前端 未结 8 797
别那么骄傲
别那么骄傲 2021-01-30 04:49

Are the JavaScript code snippets given below some sort of function declaration? If not can someone please give an overview of what they are?

some_func = function         


        
8条回答
  •  日久生厌
    2021-01-30 05:13

    They are called anonymous functions; you can read more about them here:

    http://www.ejball.com/EdAtWork/2005/03/28/JavaScriptAnonymousFunctions.aspx

提交回复
热议问题