JavaScript test

Uploaded program written in codecademy