ANB Systems interview question

some basic questions in javascript