From 5d9314cc62a3757f889d0f64208c35c894805fe0 Mon Sep 17 00:00:00 2001 From: ljcordero Date: Tue, 7 Jan 2020 16:26:18 -0400 Subject: [PATCH] typo with == Using === is safer than using == --- 03_Day/03_booleans_operators_date.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/03_Day/03_booleans_operators_date.md b/03_Day/03_booleans_operators_date.md index 945446d..adb0066 100644 --- a/03_Day/03_booleans_operators_date.md +++ b/03_Day/03_booleans_operators_date.md @@ -207,7 +207,7 @@ console.log('python'.length > 'dragon'.length) // false Try to understand the above comparisons with some logic. Remember without any logic might be difficult. JavaScript is some how a wired kind of programming language. JavaScript code run and give you a result but unless you are good at it may not be the desired result. -As rule of thumb, if a value is not true with == it will not be equall with ===. Using === is safer than using ===. The following [link](https://dorey.github.io/JavaScript-Equality-Table/) has an exhaustive list of comparison of data types. +As rule of thumb, if a value is not true with == it will not be equall with ===. Using === is safer than using ==. The following [link](https://dorey.github.io/JavaScript-Equality-Table/) has an exhaustive list of comparison of data types. ### Logical Operators