Double colons in function declaration in Javascript?

前端 未结 1 568
旧巷少年郎
旧巷少年郎 2021-01-13 08:19

Today I found this code snippet:

         


        
      
      
      
1条回答
  •  悲哀的现实
    2021-01-13 08:34

    Thanks for everyone who looked into this.

    Anyway, just as one could expect, not after five minutes after submitting the question, I found How to handle an ActiveX event in Javascript question about ActiveX callback handlers in IE, so it answers the main part of the question. As well, as the question that @outis has linked.

    But I can't find any documentation on MSDN and that's troubling.

    Conclusion: this is IE-specific ECMAScript extension for event handler declaration.

    0 讨论(0)
提交回复
热议问题