From 2369fd0d416e07b4622802833800137bc2b27b96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Budav=C3=B6lgyi=20B=C3=A1lint?= <37620060+bala92x@users.noreply.github.com> Date: Mon, 15 Oct 2018 22:03:39 +0200 Subject: [PATCH] fix(guide): added quote literals (#18808) As quotes are another way to create empty strings, they can be used to create falsy values. --- client/src/pages/guide/english/javascript/booleans/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/pages/guide/english/javascript/booleans/index.md b/client/src/pages/guide/english/javascript/booleans/index.md index 2face334c3..2840449ef6 100644 --- a/client/src/pages/guide/english/javascript/booleans/index.md +++ b/client/src/pages/guide/english/javascript/booleans/index.md @@ -21,7 +21,7 @@ There are only a few values that will be coerced to false: - undefined - NaN - 0 -- '' (empty string) +- '' or "" (empty string) All other values will be coerced to true. When a value is coerced to a boolean, we also call that either 'falsy' or 'truthy'.