---
title: "Discussion on \"Can “x !== x” Return True in JavaScript？\" | Hashnode"
description: "Discussion on \"Can “x !== x” Return True in JavaScript？\". Can “x !== x” return true？\nWhat should be the value of “x” to output “hello PriestCodex”?\nconst x = ? // Please fill in the value of \"x?\nif (x !== x) {\nconsole.log('hello PriestCodex')\n}\nIt’s amazing. Is there any value that is not equal to itself? H..."
url: "https://hashnode.com/posts/can-x-x-return-true-in-javascript/635b883fa75d81846ee104fa"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Can “x !== x” Return True in JavaScript？](https://priest24-codexblog.hashnode.dev/can-x-x-return-true-in-javascript?utm_source=hashnode&utm_medium=feed)

Can “x !== x” return true？ What should be the value of “x” to output “hello PriestCodex”? const x = ? // Please fill in the value of "x? if (x !== x) { console.log('hello PriestCodex') } It’s amazing. Is there any value that is not equal to itself? H...

Oct 28, 2022 · 1 min read · priest24-codexblog.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#js](https://hashnode.com/tag/js)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#interview](https://hashnode.com/tag/interview)

## Written by

[Rasheed Yekini](https://hashnode.com/@Priest24)

@Priest24 · Lagos state, Nigeria

  
[View profile](https://hashnode.com/@Priest24)

I'm a frontend developer, I develope user friendly and beautiful responsive websites.. might be a full stack developer soon.

I'm a self-taught frontend developer from udemy and freecodecamp. Still on a full stack journey... Partly a graphics designer 😏

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
