J.P. Morgan Interview Question

Javascript design patterns