Satellite Office interview question

In js, how does settimeout work?