Adevinta interview question

Basic and advanced JavaScript questions