标签:提升 ring java set color span this asc 简介
JavaScript 语言中,生成实例对象的传统方法是通过构造函数。
function Point(x, y) { this.x = x; this.y = y; } Point.prototype.toString = function () { return ‘(‘ + this.x + ‘, ‘ + this.y + ‘)‘; }; var p = new Point(1, 2);
标签:提升 ring java set color span this asc 简介
原文地址:http://www.cnblogs.com/miangao/p/7049843.html