var currentLocation = window.location;

BY Best Interview Question ON 25 Aug 2022