Skip to content

Commit f241a56

Browse files
authored
Merge pull request loiane#219 from fernanda-freitas/fix_truthyfalsy_comment_values
Changed comment to follow the pattern and improve understanding
2 parents 25596e4 + 29031f0 commit f241a56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/chapter01_02/04-TruthyFalsy.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ testTruthy({}); // true (object is always true)
2424
var obj = { name: 'John' };
2525
testTruthy(obj); // true
2626
testTruthy(obj.name); // true
27-
testTruthy(obj.age); // age (property does not exist)
27+
testTruthy(obj.age); // false (property age does not exist)

0 commit comments

Comments
 (0)