您是说要
this.birthday使用Date构造函数在Person的构造函数中进行初始化吗?然后使用这样的
new关键字:
this.birthday = new Date(<arguments if any exist>);
new调用对象的构造函数。在这种情况下,
Date birthday除非为其他对象使用它,否则不需要Person 的构造函数参数。

您是说要
this.birthday使用Date构造函数在Person的构造函数中进行初始化吗?然后使用这样的
new关键字:
this.birthday = new Date(<arguments if any exist>);
new调用对象的构造函数。在这种情况下,
Date birthday除非为其他对象使用它,否则不需要Person 的构造函数参数。