Skip to content

Commit bba7863

Browse files
Docs update
1 parent 3dff973 commit bba7863

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1255,7 +1255,7 @@ <h3 id="docs.4.2.5">4.2.5. Handling Output</h3>
12551255
term.onOutput((chunks) => {
12561256
// If you "write 12", chunks are ["\r\n", "12", "\r\n"].
12571257
// If you "write 1, 2", chunks are ["\r\n", "1", "2", "\r\n"].
1258-
if (chunks.slice(1, -1).join("") === "duck") { // if user do enters: write "duck"
1258+
if (chunks.slice(1, -1).join("") === "duck") { // if the user enters: write "duck"
12591259
alert(`You've found a secret phrase!`);
12601260
}
12611261
});

0 commit comments

Comments
 (0)