如何定义一个类?发布于 7 年前作者 weisun5359 次浏览最后编辑 7 年前来自 askfunction Point(_x, _y) { this.x = _x; this.y = _y; } 这样定义行吗?