Even shorter version that simply does the calculation from the title of this post:
5**5*4**4*3**3*2**2*1**1===24*60*60*1000
true 5**5*4**4*3**3*2**2*1**1===24*60*60*1000
true 864e5 === 24 * 60 * 60 * 1000 864e5;