Thomson Reuters Interview Question

Basic questions about programming with Javascript