mirror of
https://github.com/swc-project/swc.git
synced 2024-12-29 00:23:10 +03:00
16 lines
242 B
JavaScript
16 lines
242 B
JavaScript
/** Employee class. */
|
|
class Employee {
|
|
/**
|
|
* Location.
|
|
* @type {string}
|
|
*/
|
|
get location() {
|
|
return this._location;
|
|
}
|
|
|
|
/** @type {string} */
|
|
set location(loc) {
|
|
this._location = loc;
|
|
}
|
|
}
|