TMRW interview question

Basic theory question on Javascript