Now that I've been working on Angular2 for almost 3 months, I've encountered a few scenarios which led me to wonder how does this happen ?
In the case of special this
keyword it's obvious that it's passing a reference or instance of the related DOM Object
or Class
for Example.
But then there is another thing called ControlGroup
which also does the same whenever it's assigned to another variable. And both the variables have access to same instance of that ControlGroup
.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…