Publicis Sapient interview question

Javascript Basics