BMC Software interview question

JavaScript