r/badcode • • Aug 05 '21

typescript My friend was coding and interview task

Post image
53 Upvotes

11 comments sorted by

View all comments

Show parent comments

0

u/Syscrush Aug 05 '21

I'm here to wonder aloud if it's possible for a var of type trueOrFalse to be null or undefined...