You're viewing a single thread.
View all comments
16
comments
5 != "5"
32 1 ReplyDepends on the language though, sometimes
5 == "5"
and5 !== "5"
(PHP & JS)My guess is that a
.trim()
is missing somewhereEdit: removed typo in example code
11 0 Reply5! == "5" (PHP & JS)
is not valid in either PHP or JS
3 0 ReplyThank you for pointing it out! That's my bad, that was a typo, I meant
5 !== "5"
(it's the counterpart to the===
comparator in both PHP & JS)1 0 Reply
5! == "5"
isn’t valid in either JS or PHP.
1 0 Reply
Permanently Deleted
10 0 Replyx = x+1 therefore reality can be anything I want
5 0 Reply
You've viewed 16 comments.
Scroll to top