Answer the question
In order to leave comments, you need to log in
How to track all class calls with parent class?
Good evening. There is, for example, a class First , which is inherited from Second :
class Second {
m_Name = 'Module'
m_State = true
constructor(name) {
this.m_Name = name
}
turnState(value = !this.m_State) {
this.m_State = value
}
}
class First extends Second {
constructor() {
super('First')
}
}
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