Orangetoolz Interview Question

Basic concept of javascript and solved some problem.