I encountered this code today:
b = setTimeout(function () {
// do some javascript stuff here
}, 8e3)
The timeout is set to 8e3
. What time does this equate to in milliseconds, and why would anyone choose this strange notation? The code appears to be fully functional.