Skip to content

Instantly share code, notes, and snippets.

@mapehe
Last active November 2, 2022 13:38
Show Gist options
  • Save mapehe/5c3bfd28e1b262f2cced0a44f0a69f3f to your computer and use it in GitHub Desktop.
Save mapehe/5c3bfd28e1b262f2cced0a44f0a69f3f to your computer and use it in GitHub Desktop.
The type of `new Date() ${operator} 0` depends on the choice of the operator.
console.log(new Date() + 0)
console.log(new Date() - 0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment