Функция стрелки javascript getter
something = () => this.#private; //getter
somethingElse = (action) => this.#private = action; //setter
Ashamed Alpaca
something = () => this.#private; //getter
somethingElse = (action) => this.#private = action; //setter