Skip to content

Latest commit

 

History

History
12 lines (10 loc) · 210 Bytes

sleep.md

File metadata and controls

12 lines (10 loc) · 210 Bytes

Javascript sleep

Only handy for testing FPS meters are working

let millis = 100;
var date = new Date();
var curDate = null;
do { curDate = new Date(); }
while(curDate-date < millis);