Get to know MDN better
This page was translated from English by the community. Learn more and join the MDN Web Docs community.
This feature is well established and works across many devices and browser versions. It’s been available across browsers since 2015년 7월.
부등 연산자(!=)는 두 피연산자가 같지 않은지 확인하여 불리언 결과를 반환합니다. 엄격한 부등 연산자와는 달리 다른 유형의 피연산자를 암묵적으로 변환하고 비교합니다.
부등식 연산자는 피연산자가 같지 않은지 여부를 확인합니다. 동등 연산자의 부정이므로 다음 두 줄은 항상 같은 결과를 제공합니다.
비교 알고리즘에 대한 자세한 내용은 동등 연산자 페이지를 참조하십시오.
동등 연산자와 마찬가지로 부등 연산자도 다른 유형의 피연산자를 변환하여 비교합니다.
이를 방지하고 다른 유형이 다른 것으로 간주되게 하려면 엄격한 불일치 연산자를 사용해야 합니다.
| ECMAScript® 2027 Language Specification # sec-equality-operators |
Enable JavaScript to view this browser compatibility table.
This page was last modified on 2025년 2월 11일 by MDN contributors.
Your blueprint for a better internet.
Visit Mozilla Corporation’s not-for-profit parent, the Mozilla Foundation.
Portions of this content are ©1998–2026 by individual mozilla.org contributors. Content available under a Creative Commons license.