Question: why is this undefined javascript?
Answer: The this keyword of the clickMe arrow function refers to the global object, in this case the window object. So, this. ... color will be undefined because our window object does not know anything about the position or the color properties.