+ 12
What does it actually mean in JS?
"All classes have a contructor, whether one is specifically defined or not."
1 Answer
+ 12
that means that compiler generate empty constructor if you don't define any so you can create objects of some class that haven't constructor, and that object of that class will not have any attributes