Pregunta de entrevista de Satellite Office

In js, how does settimeout work?