3 ms·
It is a trick to coerce it to an integer. >> new Date() Date 2019-05-27T12:52:41.932Z >> +new Date() 1558961556913 >> +"4" // works on anyt
by lewiscollard 7y ago
It is a trick to coerce it to an integer.
>> new Date()
Date 2019-05-27T12:52:41.932Z
>> +new Date()
1558961556913
>> +"4" // works on anything else :)
4
- ape4 7y ago+ can concatenate strings. So I guess there is an implied: 0 + in there to make it in integer mode.