Yesterday, I had an interview on JavaScript. As a React developer, I do not have practical experience with these questions. But, the interview questions are interesting to know.
Global this
What is the value of this
in global scope? I have not really tried it before. I gave an answer. Maybe, it points to the window object. It turns out to be correct.…