Why the output in the console event click event currentTarget shows null?

In the handler get the event object and deduce in the console event.currentTarget - shows div on which I clicked.
But if you bring in the console event there yourself and find currentTarget, it shows null. Why?
April 7th 20 at 15:38
1 answer
April 7th 20 at 15:40
Solution
Anything can be. The object can mutate, for example. There is a guessing on a crystal ball will not help, need an example in codepen, at least)

But the easiest way is to put the output in the console, and debugger . Can see event object at exactly the moment when it gets to you in the function
about the debugger, thank you, it is necessary to look, it's not a problem, just an observation of mine, saying why is this happening in js - Maxine_Kuhlman commented on April 7th 20 at 15:43

Find more questions by tags JavaScript