---
title: "Discussion on \"Not so Weird Parts of Javascript - Part 1\" | Hashnode"
description: "Discussion on \"Not so Weird Parts of Javascript - Part 1\". Do you know, In Javascript 1 == '1' will give true as output whereas 1 === '1' gives false?\nWell, the reason behind this is,The ==(double equals) does type conversion first followed by a comparison of values, whereas ===(triple equals) does the same ..."
url: "https://hashnode.com/posts/not-so-weird-parts-of-javascript-part-1/64319c6cd89f75ecc4e3242a"
---

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

Discussion

# [Not so Weird Parts of Javascript - Part 1](https://shafikhan.hashnode.dev/not-so-weird-parts-of-javascript-part-1?utm_source=hashnode&utm_medium=feed)

Do you know, In Javascript 1 == '1' will give true as output whereas 1 === '1' gives false? Well, the reason behind this is,The ==(double equals) does type conversion first followed by a comparison of values, whereas ===(triple equals) does the same ...

Apr 8, 2023 · 1 min read · shafikhan.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#es6](https://hashnode.com/tag/es6)
-   [#typescript](https://hashnode.com/tag/typescript)

## Written by

[Shafi Khan](https://hashnode.com/@SaMsHub)

@SaMsHub · Bangalore, India

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

FrontEnd Engineer/ UI Engineer

Hi, I'm Shafi, a Techie from Hyderabad, India. I've been working as a FrontEnd Engineer since past 2 years My main tech stack includes working with JS, ReactNative, and of course ReactJS. Do follow me as I'll be sharing concepts related to Frontend, software development, and web performance along with many more things I've learned in the industry!

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
