Deloitte Interview Question

How can we create routing without any framework with pure Javascript

Interview Answer

Anonymous

Feb 10, 2018

I told him that I have used routing with Angular but he was not interested in knowing that. He insisted how was routing done vanilla javascript i.e without any framework.