Code Theorem interview question

JS and jQuery Basic questions.