From cda1eafc9f5ab9479e2bcccb4a98ac53c3c32f70 Mon Sep 17 00:00:00 2001 From: Fernanda Freitas Date: Sun, 9 Apr 2023 16:01:42 -0300 Subject: [PATCH 1/2] changed comment to improve understanding --- examples/chapter01_02/04-TruthyFalsy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/chapter01_02/04-TruthyFalsy.js b/examples/chapter01_02/04-TruthyFalsy.js index c64fa3e1..f79e3fc0 100644 --- a/examples/chapter01_02/04-TruthyFalsy.js +++ b/examples/chapter01_02/04-TruthyFalsy.js @@ -24,4 +24,4 @@ testTruthy({}); // true (object is always true) var obj = { name: 'John' }; testTruthy(obj); // true testTruthy(obj.name); // true -testTruthy(obj.age); // age (property does not exist) +testTruthy(obj.age); // false (property does not exist) From 6fc5ff847ab9ade93237da5af558f001413c3cab Mon Sep 17 00:00:00 2001 From: Fernanda Freitas Date: Sun, 9 Apr 2023 16:09:17 -0300 Subject: [PATCH 2/2] changed comment value --- examples/chapter01_02/04-TruthyFalsy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/chapter01_02/04-TruthyFalsy.js b/examples/chapter01_02/04-TruthyFalsy.js index f79e3fc0..0090ee74 100644 --- a/examples/chapter01_02/04-TruthyFalsy.js +++ b/examples/chapter01_02/04-TruthyFalsy.js @@ -24,4 +24,4 @@ testTruthy({}); // true (object is always true) var obj = { name: 'John' }; testTruthy(obj); // true testTruthy(obj.name); // true -testTruthy(obj.age); // false (property does not exist) +testTruthy(obj.age); // false (property age does not exist)