How to pause, wait, delay javascript program or routtine for X amount of time?

Need a javascript function which pause at particular line, whereas siteTimeout function carry on execution on the next line.