Thanks for the feedback. We are actually working on replacing those shitty JS questions ASAP. My friends who are engineers have given me a lot of shit. I promise it will be replaced soon.
I feel kind of ashamed as an Indian, seeing this. These sorts of dumb and idiotic questions are all too common in India. People like to ask these sorts of silly question (that lack any depth) even in the education system in India (e.g. in CBSE and various state syllabi).
They obviously filter for a certain type -- a person who is good at answering arcane, meaningless useless edge case questions. Where you have idea what that person's actual engineering and architecture skills are like.
The sad part of this story is that the entire Indian education system is designed to train people to attain such kinds of meaningless superficial skills. For example, most engineering entrance exams in India expect you to be really good at computing complicated integrals -- something that you can just ask a computer do. It fails to recognize and utilize the great depth and breadth of human intellect, and instead rewards people for simulating a CPU well.
This reminds me of the exams you have to take to get a low-level job on the Indian railways. Just look at some of these questions:
https://testbook.com/blog/gk-questions-asked-in-railway-rrb-...
Also, I know enough JS and HTML, but I absolutely hate it and have no interest in answering questions about it, even if the questions were good. A server-side category is clearly missing.