From 1750d1edfb0bd94c4ca61a104140855264ca3d6d Mon Sep 17 00:00:00 2001 From: Matin Sasanpour Date: Sat, 26 Feb 2022 21:18:06 +0330 Subject: [PATCH] Correction Corrected the following lines: 221, 257, 279 --- .../03_booleans_operators_date.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/03_Day_Booleans_operators_date/03_booleans_operators_date.md b/03_Day_Booleans_operators_date/03_booleans_operators_date.md index ec847c5..b4ca845 100644 --- a/03_Day_Booleans_operators_date/03_booleans_operators_date.md +++ b/03_Day_Booleans_operators_date/03_booleans_operators_date.md @@ -218,7 +218,7 @@ console.log('python'.length > 'dragon'.length) // false ``` Try to understand the above comparisons with some logic. Remembering 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. +JavaScript is somehow 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 equal 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. @@ -254,7 +254,7 @@ let isMarried = !false // true ### Increment Operator -In JavaScrip we use the increment operator to increase a value stored in a variable. The increment could be pre or post increment. Let us see each of them: +In JavaScript we use the increment operator to increase a value stored in a variable. The increment could be pre- or post-increment. Let us see each of them: 1. Pre-increment @@ -276,7 +276,7 @@ We use most of the time post-increment. At least you should remember how to use ### Decrement Operator -In JavaScrip we use the decrement operator to decrease a value stored in a variable. The decrement could be pre or post decrement. Let us see each of them: +In JavaScript we use the decrement operator to decrease a value stored in a variable. The decrement could be pre or post decrement. Let us see each of them: 1. Pre-decrement