# Strict Inequality (!==)

*noun*

say it: **“STRIKT in-ih-KWOL-ih-tee”** **/strɪkt ˌɪnɪˈkwɒlɪti/** or **“NOT EE-kwul”** **/nɒt ˈiːkwəl/**

The !== comparison, read "not equal" or "strictly not equal": true when two values differ in value or in type.

## What is **Strict Inequality (!==)** in JavaScript?

**Strict Inequality (!==)** — The `!==` comparison, read "strictly not equal" or "not equal". It gives `true` when two values are different, in value or in type, and `false` when they're the same. It's the opposite of `===`.

```javascript
const size = 'medium';
console.log(size !== 'large'); // true
console.log(12 !== '12');      // true: a number and text
```

## In a sentence

- “With **strict inequality**, 5 !== "5" is true, because one is a number and one is text.”

Level: Novice · [More JavaScript terms at this level](https://www.ask-codey.com/glossary?category=javascript&level=1)

Updated: November 9, 2026

Source: https://www.ask-codey.com/glossary/strict-inequality
