What does ‘::’ (double colon) do in JavaScript?

后端 未结 8 2335
深忆病人
深忆病人 2020-12-01 12:10

The documentation of some JavaScript APIs shows the following snippets as an example of how to invoke some function:

8条回答
  •  醉酒成梦
    2020-12-01 12:55

    I am guessing that the parameter list for foo.DoIt() is generated by code, and one the values was empty.

提交回复
热议问题