You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This only happens when the assignment happens to a variable beginning with this..
if it was just text instead of this.text the replace happens correctly (text = condition ? "one" : "two";)
The text was updated successfully, but these errors were encountered:
This
becomes:
condition ? this.text = "one" : this.text = "two";
instead of the desired:
this.text = condition ? "one" : "two";
This only happens when the assignment happens to a variable beginning with
this.
.if it was just
text
instead ofthis.text
the replace happens correctly (text = condition ? "one" : "two";
)The text was updated successfully, but these errors were encountered: