UNPKG

oop-console-app

Version:

basic concepts of Object Oriented Programming

15 lines (14 loc) 265 B
import Person from "./person.js"; export default class Student extends Person { _name; constructor() { super(); this._name = ""; } get name() { return this._name; } set name(name) { this._name = name; } }