Cognizant interview question

Webhoisting in js