Freelancer Interview Question

Use some enclosure on javascript code.