this
1. What does "this" refer to?
"this" in a method refer to car (not Car) in this situation.
看call function的时候,最左边的是什么,this就是指什么
2.How to solve "undefined" problem caused by "this"?
用arrow function.
For further actions, you may consider blocking this person and/or reporting abuse
BeingOptimist -
Toshi Ossada -
developedbyjk -
David Oyewole -
Top comments (0)