# Constructor definition

**URL:** <https://es.discourse.group/t/constructor-definition/1923>\
**Category:** I have questions\
**Created:** [February 11, 2024, 1:14am UTC](https://es.discourse.group/t/constructor-definition/1923 "2024-02-11T01:14:46Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![aclaymore](https://yyz2.discourse-cdn.com/free1/user_avatar/es.discourse.group/aclaymore/32/501_2.png) [@aclaymore](https://es.discourse.group/u/aclaymore)\
**Post date:** [February 11, 2024, 7:35am UTC](https://es.discourse.group/t/constructor-definition/1923/4 "2024-02-11T07:35:44Z")

</div>

Another way to look at it is that they are _private_ constructors.

```javascript
const i = Object(1n);
i instanceof BigInt; true

```

If `#constructor` became part of the language perhaps BigInt and Symbol would be modelled that way.

---

_[View the full topic](https://es.discourse.group/t/constructor-definition/1923)._
