fun Javascript discovery of the day. You cannot `s...
# random
b
fun Javascript discovery of the day. You cannot
setInterval
or
setTimeout
for “1 month from now”, because that’s too large a number in ms for a 32-bit signed integer. It just rolls over to
1
and runs your code immediately (or in the case of setInterval, runs your code immediately over and over). Relevant to our discussion of GraphQL timestamp types Nick 🙂
chefkiss 5
n
setTimeout("alert('you probably should apply security fixes to your laptop, really')", ...)
🙂