Applying prototype functions to 2 different objects in a loop only works on the second object

前端 未结 0 1314
温柔的废话
温柔的废话 2021-02-07 19:07

Sorry if question is bad. Its my first one. Im setting prototype functions on Ball object instances but in the loop the function only work on the instance that is called second

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