Skip to content

Instantly share code, notes, and snippets.

@ksakae1216
Created June 27, 2016 08:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ksakae1216/332617cc49ee4abd265cff7f60b6426f to your computer and use it in GitHub Desktop.
Save ksakae1216/332617cc49ee4abd265cff7f60b6426f to your computer and use it in GitHub Desktop.
//厳密に等しい (===)
//厳密等価演算子はオペランド同士が、型を変換することなく (上に示した通り) 厳密に等しいならば真を返します。
3 === 3 // true
3 === '3' // false
//厳密には等しくない (!==)
//厳密不等価演算子は、オペランド同士が等しくない、型が等しくない、あるいはその両方ならば真を返します。
3 !== 3 // false
3 !== '3' // true
4 !== 3 // true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment