Egen Interview Question

went through the code and ask some possible features in javascript.