I have always found Date.now() shorter than new Date().getTime() and I'm not sure if there is any differences.