I have 2 years experience in React JS and in an interview I was asked hardcore JavaScript questions and no questions on my work experience is this the way companies will be asking me questions, let's say Accenture is the company?

consider practicing coding problems and whiteboard exercises to enhance your problem-solving skills and familiarity with JavaScript-related challenges commonly encountered in technical interviews.

It's not uncommon for companies, including Accenture, to assess candidates' technical skills through rigorous questioning, especially in areas like JavaScript for roles involving React JS development. While your work experience is valuable, technical interviews often focus on assessing your proficiency in specific technologies and problem-solving abilities.

Companies like Accenture prioritize candidates who demonstrate a deep understanding of fundamental concepts and practical application in their technical interviews. Therefore, it's essential to prepare thoroughly for such interviews by reviewing core JavaScript concepts, data structures, algorithms, and common coding challenges.

Additionally, consider practicing coding problems and whiteboard exercises to enhance your problem-solving skills and familiarity with JavaScript-related challenges commonly encountered in technical interviews. While your work experience is significant, showcasing your technical expertise and adaptability to challenging problem-solving scenarios can significantly improve your performance in interviews with companies like Accenture.