Skip to content

Instantly share code, notes, and snippets.

@tadfmac
Created Dec 16, 2015
Embed
What would you like to do?
function delay(millisec){
var start = new Date();
while((new Date()-start)<millisec);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment