Knowledgeq interview question

basic from javascipt