我正在尝试为属性创建get和set方法:
private _name: string;
Name() {
get:
{
return this._name;
}
set:
this._name = ???;
设置值的关键字是什么?
不负相思意
相关分类