# Final classes

**URL:** <https://es.discourse.group/t/final-classes/1621>\
**Category:** 💡 Ideas\
**Created:** [February 22, 2023, 3:06pm UTC](https://es.discourse.group/t/final-classes/1621 "2023-02-22T15:06:59Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![ljharb](https://yyz2.discourse-cdn.com/free1/user_avatar/es.discourse.group/ljharb/32/8_2.png) [@ljharb](https://es.discourse.group/u/ljharb)\
**Post date:** [March 4, 2023, 5:23am UTC](https://es.discourse.group/t/final-classes/1621/9 "2023-03-04T05:23:14Z")

</div>

That, combined with a private field (`#x;`) and a `this.#x;` at the top of every prototype method, would also ensure none of the prototype methods can be used except on instances of the "final" class.

---

_[View the full topic](https://es.discourse.group/t/final-classes/1621)._
