0

What does the underscore after this. mean? What does it do?

And foremost - what is the name of this "process", so I can read more about it?

class Car {
  constructor(color) {
    this._color = color;
  }
}

how is it different from

this.color

?

Thanks in advance

bysiuxvx
  • 35
  • 1
  • 6

0 Answers0