GamerBoy705@lemmy.worldM to Software Gore@lemmy.worldEnglish · 9 months agoYes but nolemmy.worldimagemessage-square17fedilinkarrow-up16arrow-down10file-text
arrow-up16arrow-down1imageYes but nolemmy.worldGamerBoy705@lemmy.worldM to Software Gore@lemmy.worldEnglish · 9 months agomessage-square17fedilinkfile-text
minus-squareCommanderCloon@lemmy.mllinkfedilinkarrow-up0·9 months agoDepends on the language though, sometimes 5 == "5" and 5! == "5" (PHP & JS) My guess is that a .trim() is missing somewhere
minus-squarebleistift2@feddit.delinkfedilinkEnglisharrow-up0·9 months ago 5! == “5” (PHP & JS) is not valid in either PHP or JS
Depends on the language though, sometimes
5 == "5"
and5! == "5"
(PHP & JS)My guess is that a
.trim()
is missing somewhereis not valid in either PHP or JS