From abfa6dc1fec43a78772334ce43e6d22e14ab3b98 Mon Sep 17 00:00:00 2001 From: LeviDing Date: Sun, 12 Jul 2020 18:33:50 +0800 Subject: [PATCH] Change equality sign `=` to equality sign `==` --- 1-js/02-first-steps/09-comparison/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1-js/02-first-steps/09-comparison/article.md b/1-js/02-first-steps/09-comparison/article.md index d4afa32c..a323dc93 100644 --- a/1-js/02-first-steps/09-comparison/article.md +++ b/1-js/02-first-steps/09-comparison/article.md @@ -6,7 +6,7 @@ In JavaScript they are written like this: - Greater/less than: a > b, a < b. - Greater/less than or equals: a >= b, a <= b. -- Equals: `a == b`, please note the double equality sign `=` means the equality test, while a single one `a = b` means an assignment. +- Equals: `a == b`, please note the double equality sign `==` means the equality test, while a single one `a = b` means an assignment. - Not equals. In maths the notation is , but in JavaScript it's written as a != b. In this article we'll learn more about different types of comparisons, how JavaScript makes them, including important peculiarities.