Comment Comment by stupidcar There are also getter (and setter) properties that can be backed by private fields:get name() { return this.#name; }Half of this article seems to be based on the author’s unawareness of JS class syntax. parent stupidcar 3 years ago
get name() { return this.#name; }
Half of this article seems to be based on the author’s unawareness of JS class syntax.