See, if the interviewer asked most of the things which were out of the requirements that was posted for the job, then this is an unprofessional thing on the behalf of the interviewing company and that person. If the role asked for Python programmer, then JavaScript was out of question.
Nevertheless, contact the person and the company once and ask them about the results, and if they show any kind of reluctance, get the idea and move on. And continue learning Machine Learning as it is one of the highest paying jobs in India. All the best!
Regular exam updates, QnA, Predictors, College Applications & E-books now on your Mobile