Sign in
webkit
/
WebKit
/
1a79bee400eb09e4e61992ad877612506d12b02d
/
.
/
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
);