Sign in
webkit
/
WebKit
/
e767106e7a06fdacec6838307e9a44bbff73461a
/
.
/
JSTests
/
stress
/
setTimeout-with-delay.js
blob: dd465c73dafd0d16921145deda136953126cc9ba [
file
] [
log
] [
blame
]
let startTime
=
Date
.
now
();
let waitTime
=
1000
;
setTimeout
(()
=>
{
if
(
startTime
+
waitTime
>
Date
.
now
())
throw
new
Error
();
},
waitTime
);