0
rated 0 times
[
1]
[
1]
/ answers: 1 / hits: 39247
/ 12 Years ago, mon, april 9, 2012, 12:00:00
I was curious that what does setTimeout return. So I did a quick test:
var thing = setTimeout(function(){},1);
And what surprise me is that it gave me a number. 1351
Each time is different.
So is it really all it returns is a number? So I can actually do this as well?
clearTimeout(1351);
Very confusing...
More From » javascript