# Creating a class with multiple constructors and static variables in JavaScript

**URL:** <https://discourse.processing.org/t/creating-a-class-with-multiple-constructors-and-static-variables-in-javascript/21156>\
**Category:** Coding Questions\
**Created:** [May 22, 2020, 2:24am UTC](https://discourse.processing.org/t/creating-a-class-with-multiple-constructors-and-static-variables-in-javascript/21156 "2020-05-22T02:24:46Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![GoToLoop](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/gotoloop/32/86_2.png) [@GoToLoop](https://discourse.processing.org/u/GoToLoop)\
**Post date:** [May 22, 2020, 2:40am UTC](https://discourse.processing.org/t/creating-a-class-with-multiple-constructors-and-static-variables-in-javascript/21156/2 "2020-05-22T02:40:14Z")

</div>

> [@AndJ](#):
>
> , I was working in the p5.js web editor…

If you wanna have full access to the JS language, use something else: 😏

> [@Error Affecting All Programs](https://discourse.processing.org/t/error-affecting-all-programs/21115/4):
>
> May I suggest you to try out other online editors: angel[OpenProcessing.org](http://OpenProcessing.org)

---

_[View the full topic](https://discourse.processing.org/t/creating-a-class-with-multiple-constructors-and-static-variables-in-javascript/21156)._
