DEV Community


Discussion on: Type | Treat Challenge 5

orta profile image

Heh, thanks, they were intentionally wrong - but maybe I should have made it a bit more obvious that it was supposed to be unexpected.

The F vs P look so similar, and in the original version of this code it would have crashed before this code would have evaluated. Causing a double whammy from the any.

Next time I'll make it more obvious 👍