# Comparison with the Inequality Operator

**URL:** <https://forum.freecodecamp.org/t/comparison-with-the-inequality-operator/150907>\
**Category:** General\
**Created:** [October 2, 2017, 1:49am UTC](https://forum.freecodecamp.org/t/comparison-with-the-inequality-operator/150907 "2017-10-02T01:49:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![lmabrey68](https://avatars.discourse-cdn.com/v4/letter/l/f4b2a3/32.png) [@lmabrey68](https://forum.freecodecamp.org/u/lmabrey68)\
**Post date:** [October 2, 2017, 1:49am UTC](https://forum.freecodecamp.org/t/comparison-with-the-inequality-operator/150907/1 "2017-10-02T01:49:30Z")

</div>

**Tell us what’s happening:**

**Your code so far**

```auto
// Setup
function testNotEqual(val) {
  if (val !== 99) { // Change this line
    return "Not Equal";
  }
  return "Equal";
}

// Change this value to test
testNotEqual(10);

```

**Your browser information:**

Your Browser User Agent is: `Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36`.

**Link to the challenge:**  
[https://www.freecodecamp.org/challenges/comparison-with-the-inequality-operator](https://www.freecodecamp.org/challenges/comparison-with-the-inequality-operator)

---

<div class="post-metadata">

**Author:** ![lmabrey68](https://avatars.discourse-cdn.com/v4/letter/l/f4b2a3/32.png) [@lmabrey68](https://forum.freecodecamp.org/u/lmabrey68)\
**Post date:** [October 2, 2017, 1:59am UTC](https://forum.freecodecamp.org/t/comparison-with-the-inequality-operator/150907/3 "2017-10-02T01:59:55Z")

</div>

I finally figured this one out, I added an extra = symbol

---

<div class="post-metadata">

**Author:** ![ILM](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ilm/32/363239_2.png) [@ILM](https://forum.freecodecamp.org/u/ILM)\
**Post date:** [January 17, 2021, 8:38pm UTC](https://forum.freecodecamp.org/t/comparison-with-the-inequality-operator/150907/4 "2021-01-17T20:38:35Z")

</div>

Closed on January 17, 2021, 8:38pm UTC


