ZoomInfo interview question

simple question hoisting closure eventloop 1 small coding task