I would like to ask a question about javascript properties of an object. In the code below I have a javascript object. I would like to use the property "testName" inside the function "testFunction". I find out that the "this.testName" doesn't work in javascript object but if I do something like "TestObject.testName", it works properly. So in general, is it wrong to get the values of properties like "TestObject.testName" inside of the objects' functions?
const TestObject= {
testName:"testValue",
testFunction: ()=>{
var result = TestObject.testName+ "result";
return result ;
}
} ```