Skip to content

Commit 98c96f5

Browse files
committed
added example from loiane#31. Closes loiane#31
1 parent 806f16a commit 98c96f5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/chapter01/04-TruthyFalsy.js

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ testTruthy(false); // false
1010
testTruthy(new Boolean(false)); // true (object is always true)
1111

1212
testTruthy(''); // false
13+
testTruthy('a'); // true
1314
testTruthy('Packt'); // true
1415
testTruthy(new String('')); // true (object is always true)
1516

0 commit comments

Comments
 (0)