javascript - problems with constructor

前端 未结 0 1345
孤城傲影
孤城傲影 2020-12-29 03:19

I have a very strange effect in javascript. Check this out my friends:

function Enemy(name, x, y) {
    this.name = name;
    this.x = x;
    this.y = y;
             


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