Custom class method getting called multiple times inside class but only called once in outer scope

前端 未结 0 1816
梦谈多话
梦谈多话 2020-12-31 02:13

I defined a class (see below). I then try to call a method but it loops through 3 times despite it only being called once and there is no loop.

Here is the class:

相关标签:
回答
  • 消灭零回复
提交回复
热议问题