JavaScript delay function Posted on 18/02/202118/02/2021by justCuriousComes in handy! Copy Code Copied Use a different Browser setTimeout(doThings, 1000); function doThings() { //do things here // 1000 = 1 second }