console.log while printing timestamp of now (javascript)

Why is there a difference in output in the following two cases:

1.

var myTimeStamp = Date.now()
console.log(myTimeStamp)
console.log(Date.now())

In 1st case my output is 1719474393071 whereas in 2nd case my output is 1719474393074.