Javascript logical “!==” operator?

前端 未结 6 1944
无人共我
无人共我 2021-02-01 12:37

I am getting back into web development, and have been trying to go over the nuances of jscript recently. I was pouring through the source of the THREEx extension library built o

6条回答
  •  遇见更好的自我
    2021-02-01 13:13

    reference here

    !== is the strict not equal operator and only returns a value of true if both the operands are not equal and/or not of the same type. The following examples return a Boolean true:

    a !== b 
    a !== "2" 
    4 !== '4' 
    

提交回复
热议问题