Javascript codes not working in internet explorer

I am currently developing a wordpress theme and all the functions in that theme working properly in google chrome. But in internet explorer my javascript file is not working. But file is enqueued correctly. I am only using standard javascript. No jquery or any other javascript libraries used. Expecting a quick answer to figure this out.