Conclusion:

1. This in constructor points to an instance object of the class

2. This in a class method refers to the object calling it

3. All methods defined in a class have strict mode turned on

class Person { constructor(name, age) { this.name = name; This.age = age} speak() {this.age = age} speak() {this.age = age} speak() {this.age = age} Console. log(this)}} const p1 = new Person(' Tom ', 18) p1.speak() Const X = p1.speak() // This is a direct call. All methods defined in class are in strict mode, This is undefined x() // this is undefinedCopy the code