摘要:
// We begin with the constructorfunction Circle(radius) { // r is an instance property, defined and initialized in the constructor. this.r = radius;}// Circle.PI is a class property--it is a property of the constructor function.Circle.PI = 3.14159;// Here is an instance method that computes a ... 阅读全文
posted @ 2012-07-27 15:11
rorodo
阅读(288)
评论(0)
推荐(0)