XMLHTTPRequest onreadystatechange event listener problem

What does the typeErrors mean or How do I fix the problem?

The problem has been fixed.
js was in strict mode and by changing the variable declaration inside the event handler from let to var the problem disappeared.
Maybe I will have to declare the variable outside the event handles.

1 Like

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.