Evernote interview question

Javascript fundamentals and problem-solving challenges.