0👍
✅
It’s:
if (this.width == 80)
and not
if (this.width = 80)
The same for this.width == 100
Source:stackexchange.com
0👍
It’s:
if (this.width == 80)
and not
if (this.width = 80)
The same for this.width == 100