摘要:
function Shape(id) { this.id = id; } Shape.prototype.name = "shape"; Shape.prototype.toString = function () { var result = []; if (this.constructor.parent) { result[result.length] = this.constructor.parent.toString(); } result[result.length] = this.name; return result.join(', '); } 阅读全文
posted @ 2014-01-13 00:04
Huang,Yong-Jian
阅读(116)
评论(0)
推荐(0)

浙公网安备 33010602011771号