Javascript – How to define a static constructor within a JS class?
How do you define a static constructor within a JS class? I managed to write something that somehow works but it requires to write a specific codepath in constructor for when an IngredientsDB object is instantiated from the static method…