Blue Yonder Interview Question

js closure and its use..? inheritance in js