You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: User-Input.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,7 +39,7 @@ r1.question('Do you want to hit or pass ?', (answer) => {
39
39
});
40
40
```
41
41
42
-
#### Loops with `readline`
42
+
#### Looping with `readline`
43
43
44
44
In order to create a looping structure e.g creating a Text Adventure game or a BlackJack game using `readline` you must use a recursive function as a `while` or `do...while` won't execute continuosuly using `readline`.
0 commit comments