Avito Interview Question

Closure, scope, browser rendering. Task to implement jQuery analog.