Pregunta de entrevista de Mimeo

Write an implementation of an infinite scrolling function in JavaScript