You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
constdateA=newDate()constdateB=newDate()if(dateA===dateB){console.log('Can I haz warning?')}
Expected behavior:
TypeScript compiler prints a warning because comparing if dateA and dateB are the same Date object is probably not what I want to do.
Actual behavior:
Nothing happens.
The text was updated successfully, but these errors were encountered:
Automatically closing this issue for housekeeping purposes. The issue labels indicate that it is unactionable at the moment or has already been addressed.
Code
Expected behavior:
TypeScript compiler prints a warning because comparing if dateA and dateB are the same Date object is probably not what I want to do.
Actual behavior:
Nothing happens.
The text was updated successfully, but these errors were encountered: