如何定义一个类?
发布于 6 年前 作者 weisun 5215 次浏览 来自 问答

function Point(_x, _y) {

  this.x = _x;

  this.y = _y;

}

这样定义行吗?


1 回复
回到顶部