How To Add Sleep Wait Function Before Continuing In Javascript

How To Add Sleep Wait Function Before Continuing In Javascript