HCLTech Interview Question

Write a simple JavaScript Program.