Question d’entretien chez Fidelity Investments

I was supposed to write few small JavaScript programs using JSFiddle