tfm@europe.pub to Programmer HumorEnglish · 3 个月前True crimeeurope.pubimagemessage-square74linkfedilinkarrow-up1340arrow-down113
arrow-up1327arrow-down1imageTrue crimeeurope.pubtfm@europe.pub to Programmer HumorEnglish · 3 个月前message-square74linkfedilink
minus-squareshape_warrior_tlinkfedilinkEnglisharrow-up5·3 个月前a === b returns true if a and b have the same type and are considered equal, and false otherwise. If a is null and b is a boolean, it will simply return false.
minus-squareulternolinkfedilinkEnglisharrow-up0arrow-down1·3 个月前I see, so logically it is fine. Just not in the context.
a === breturns true ifaandbhave the same type and are considered equal, and false otherwise. Ifaisnullandbis a boolean, it will simply return false.I see, so logically it is fine.
Just not in the context.