Pergunta de entrevista da empresa ClearFeed

Regular Javascript syntax, by adding features to an already existing JS code snippet.