1.) Round was HR : Initial round just seeking the background information.
2.) Technical Round : Some tech related questions, frontend, event loops, hoisting.
3.) Combine Coding : A JS file was shared seeking the write the test cases.
the interviewer was rigid enough to stick to his methodology and was not anticipating any new ideas and wanted to stick to his idea and method of solving even if you suggest something better.