eBay Interview Question

settimeout in JavaScript , how does it behave and ,if JavaScript is single treaded then how will it take this into consideration