Questions for interview on JavaScript