What happens under the hood?
Short version:
Since it is used in a mathematical operation, the date is converted to a number, and when you convert dates to numbers, the number you get is milliseconds-s-epoch (for example, getTime()).
Long version:
. , var timeStamp = 1 * new Date(), , , var timeStamp = +new Date(), . , , ( ), var timeStamp = Date.now() ( Date.now).