DEV Community

Cover image for this
Amritanshu Dev Rawat
Amritanshu Dev Rawat

Posted on

this

  • There is a Car class -> Car{this.something}
  • There is 2 objects of Car class -> car1, car2
  • When I access Car with car1 -> [this == car1][this.something == car1.something]
  • When I access Car with car2 -> [this == car2] [this.something == car2.something]

Top comments (0)