admin管理员组文章数量:1391756
What does ===!
operator in JS mean?
Just checked in the browser console,
5 ===! 5 //false
5 ===! 6 //false
5 ===! 7 //false
What's the meaning of ===! ? Yes, three equal signs and exclamation sign thereafter. Thank you.
Or, 5 ===! 5 is treated as 5 === false ?
What does ===!
operator in JS mean?
Just checked in the browser console,
5 ===! 5 //false
5 ===! 6 //false
5 ===! 7 //false
What's the meaning of ===! ? Yes, three equal signs and exclamation sign thereafter. Thank you.
Or, 5 ===! 5 is treated as 5 === false ?
Share Improve this question edited Oct 21, 2015 at 16:58 Haradzieniec asked Oct 21, 2015 at 16:56 HaradzieniecHaradzieniec 9,34833 gold badges122 silver badges227 bronze badges 3-
9
Hmmm...
===
followed by!
maybe? – Álvaro González Commented Oct 21, 2015 at 16:58 - Nope. Exactly as I've asked. Otherwise I won't ask, as I know ! and the difference between == and ===. Thank you. – Haradzieniec Commented Oct 21, 2015 at 16:59
- 1 Related: stackoverflow./questions/1642028/… – Seiyria Commented Oct 21, 2015 at 17:01
1 Answer
Reset to default 12It's not an operator, it's two of them. It is parsed as 5 === (!5)
, whitespace is ignored between tokens.
本文标签: javascriptWhat doesoperator in JS meanStack Overflow
版权声明:本文标题:javascript - What does ===! operator in JS mean? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744771661a2624375.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论