---
title: "Discussion on \"Javascript Truthy and Falsy\" | Hashnode"
description: "Discussion on \"Javascript Truthy and Falsy\". First lets understand difference between '==' and '==='\n1 == '1';// returns true\n1==='1'; //returns false\nFirst line will return a Boolean(true or false) value of true,\nhas '==' doesn't check the the data type so number 1 and string 1 will still retu..."
url: "https://hashnode.com/posts/javascript-truthy-and-falsy/61ade6759dc5a836391ba78a"
---

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

Discussion

# [Javascript Truthy and Falsy](https://kiran-babu.hashnode.dev/javascript-truthy-and-falsy?utm_source=hashnode&utm_medium=feed)

First lets understand difference between '==' and '===' 1 == '1';// returns true 1==='1'; //returns false First line will return a Boolean(true or false) value of true, has '==' doesn't check the the data type so number 1 and string 1 will still retu...

Dec 6, 2021 · 2 min read · kiran-babu.hashnode.dev  
Updated Dec 8, 2021  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#validation](https://hashnode.com/tag/validation)
-   [#tutorial](https://hashnode.com/tag/tutorial)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#webdev](https://hashnode.com/tag/webdev)

## Written by

[V Kiran Babu](https://hashnode.com/@KiranB)

@KiranB

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

Learning Web Development

## Responses 1

Markdown supported · ⌘↵ to post

[Akshay Kamble](https://hashnode.com/@Gadgetfather)

[Dec 6, 2021](https://hashnode.com/posts/javascript-truthy-and-falsy/61ade6759dc5a836391ba78a/comment/61adf2ec9dc5a836391ba986)

Well written !

[V Kiran Babu](https://hashnode.com/@KiranB)

[Dec 8, 2021](https://hashnode.com/posts/javascript-truthy-and-falsy/61ade6759dc5a836391ba78a/comment/61adf2ec9dc5a836391ba986#reply-61b0b6346a616156e95e19b9)

Thanks buddy😄
