Javascript Scenario Based Interview Questions