a="asdf" b="asdf" a==b >>true !a==b >>false a="a" b="b" a==b >>false !a==b >>false //这里为啥是 false,而不是 true ?
明白了,加上括号就好了!(a==b)。 结贴