That is not hex, its a number written in Scientific Notation, 6 x 104.
= 60.000
As the time of setInterval
is in milliseconds, if you want to use an integer
as seconds, it's easy to use it like: Ne3
being N = seconds
.
1e3 = 1000 = 1 second
Edit:
Hex numbers are written with the prefix 0x
.