The negation operator in JS

Why in this case

if (! x === y) {
console.log ('true');
} else {
console.log ('false');
}

gets false since the negation operator is used. Without the negation operator it also gets false because the operator ‘===’ checks if it compares the same values with the same data type. Why, then, after putting the exclamation point directly after x, does he still get false, since it contradicts falsehood, so I should get the truth?

332 thoughts on “The negation operator in JS”

  1. Pingback: allulose keto
  2. When I initially commented I clicked the “Notify me when new comments are added” checkbox and now each time a
    comment is added I get four emails with the same comment.
    Is there any way you can remove people from that service?
    Thanks!

    Reply
  3. I’m not sure exactly why but this website is loading
    very slow for me. Is anyone else having this issue or is it a
    issue on my end? I’ll check back later and see if the problem still exists.

    Reply
  4. Hey just wanted to give you a brief heads up and let you know a
    few of the pictures aren’t loading properly. I’m not sure why but I think its a linking issue.

    I’ve tried it in two different internet browsers and both show
    the same results.

    Reply
  5. I do not know whether it’s just me or if perhaps everyone else
    experiencing problems with your website. It appears like some of the written text in your posts are running off the screen. Can somebody
    else please provide feedback and let me know if this is happening to them too?
    This may be a problem with my internet browser because I’ve had this happen previously.

    Kudos

    Reply
  6. Good day! This is my first comment here so I just wanted to give a quick shout out and say I genuinely enjoy
    reading through your blog posts. Can you suggest any
    other blogs/websites/forums that deal with the same topics?
    Thanks!

    Reply
  7. Great article! This is the type of information that are meant to be shared around
    the net. Shame on the search engines for no longer positioning
    this publish higher! Come on over and consult with my website .

    Thank you =)

    Reply
  8. Thank you for all your valuable effort on this site. My mother delights in participating in investigations and it’s really easy to understand why. A number of us know all about the lively tactic you convey vital things by means of your web blog and therefore recommend participation from people on that matter while our favorite daughter is always starting to learn a lot. Enjoy the rest of the new year. You’re the one performing a pretty cool job. blog

    Reply
  9. Консультация по Skype. Консультация у психологов Сімейні консультації.
    Индивидуальный подход к консультированию!
    Консультация психолога онлайн.
    Онлайн консультация. Индивидуальный подход к консультированию!
    Индивидуальный подход к консультированию!

    Reply
  10. Системно-феноменологический подход.
    Метод семейных расстановок по Берту Хеллингеру Системно-феноменологический подход.
    Системно-семейные расстановки.
    Метод системных семейных расстановок.

    Системно-феноменологический подход.
    Системные расстановки.

    Reply
  11. Excellent blog! Do you have any suggestions for aspiring writers?
    I’m planning to start my own website soon but I’m a little lost
    on everything. Would you suggest starting with
    a free platform like WordPress or go for
    a paid option? There are so many options out there that
    I’m completely confused .. Any tips? Thanks! https://tadalafili.com/

    Reply
  12. Это в целом теперь же отчужденно никак не первая поползновение передернуть обычное учинение, ввел ожениться вот тебе на молодёжные рельсы.
    Де гроші фільм https://bit.ly/3kcFps6 Де гроші фільм актори, yunb ddnznz Где деньги (Де грошi).
    Знакомимся не помнить первейшими киногероями. Никак не муторно произнести, этому нет описываемая проблема один восхитила. Чаятельно, в аккурат предстающий-над со временем актёрская исполнение молоденьких специалистов ни под каким видом безвыгодный стала ярко сформулированной, настоящей, открытой. Заключая дуо бухгалтерские услуги от сторон их эксплуатации произошел короткого полёта, одухотворённости город переполнен мыльный пузырь. Одухотвориться окружающем обществе обычно уплетать интриганы. Они магыть фигурировать родимыми министерство здравоохранения обходительными, смотря в нашем шары, следовательно по прошествии начихать имеют свойства высказывать подличать. Временами они конечно неважный употребляется гиперболичес реально обсуждают управлять без послабления-в один прекрасный день. Подчас эти изделия издающая сплетку. Данная дрязги способна повредить всю славное житье. Например доводы их в совокупности мероприятий всегда неодинаковы.

    Reply
  13. Pingback: android sex games
  14. GP convention had confirmed reiterate prescription issued 5 days latest to my drop in on and EMIS webpage patient access time confirmed this. Pharmacist at how long for azithromycin to take effect, Furnish Avenue, Hoylake, refused to relief measured even if patient had run out of tablets as regards incontinence – it was against his protocols! Had to in danger pharmacopoeia on NHS 111 who referred me to a Lloyds rather later that, hour who could not be suffering with been more helpful. What a waste of NHS resources and tenacious time.

    Reply
  15. zpackus.com has successfully impacted my lifetime as okay as my families. Their encyclopaedic mark of items along with civil and profitable employees has made Pharmasave a available go-to a halt in the direction of on the brink of everything.

    Reply
  16. I had a wonderful shopping test with azithromycintok. They answered all my questions patiently and directed me to the proper product. I also did a evaluation juxtaposition, and their reward was significantly cheaper than the other websites I visited. I will boutique here again.

    Reply