Skip to content

Commit d1c0771

Browse files
committed
Slight clarification in chapter 2
Closes marijnh#175
1 parent ad02552 commit d1c0771

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

02_program_structure.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -559,7 +559,8 @@ console.log(name);
559559
force you to enter a name. It will ask again and again until it gets
560560
something that is not an empty string. Applying the `!` operator will
561561
convert a value to Boolean type before negating it, and all strings
562-
except `""` convert to `true`.
562+
except `""` convert to `true`. This means the loop continues going round
563+
until you provide a name that is not the empty string.
563564

564565
== Indenting Code ==
565566

0 commit comments

Comments
 (0)