Skip to content

Commit 5377400

Browse files
feat: update truthy & falsy
1 parent c01cb6f commit 5377400

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

part1 (Basics)/03_truthy&falsy.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/* INFO: What are Truthy and Falsy Values?
22
In JavaScript, every value is either "truthy" or "falsy" when evaluated in a Boolean context (like inside an if condition).
33
4-
- Falsy values** are those that are considered false when converted to a Boolean.
5-
- Truthy values** are all other values that are considered true.
4+
- Falsy values are those that are considered false when converted to a Boolean.
5+
- Truthy values are all other values that are considered true.
66
*/
77

88
/*

0 commit comments

Comments
 (0)