Answer the question
In order to leave comments, you need to log in
Error when using Constructor: super() is only valid inside?
Guys, need help. I need to enter two numbers and they are summed up, for this I looked, I need to use the constructor, but for some reason it gives me an error, I don’t understand what’s wrong. Next, I want to complicate mathematical operations, for example, the sum of all the digits of the number that I enter, tell me where to read about it.
Here are the screenshots of the errors:
src=" https://habrastorage.org/webt/5e/35/be/5e35be34aad... " alt="image"/>
Thank you in advance
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question