Priceline.com interview question

Javascript scoping