Whatfix interview question

Window and location in JavaScript