Wells Fargo interview question

Basic questions in oops, jquery