check if date equal js

JavaScript
  // Stop refresh token
  sharedActions.stopRefreshTokenWatcher()...mapActions({
   startRefreshTokenWatcher: sharedTypes.REFRESH_TOKEN_WATCHER,
   stopRefreshTokenWatcher: sharedTypes.STOP_REFRESH_TOKEN_WATCHER
})
Source

Also in JavaScript: