doc: modernize and fix code examples in repl.md · nodejs/node@a3ae360 · GitHub
Skip to content

Commit a3ae360

Browse files
vsemozhetbytMylesBorins
authored andcommitted
doc: modernize and fix code examples in repl.md
* Improve UX in 2 code examples (add spaces between output and input for better readability). * Replace indexOf() by startsWith(). PR-URL: #12634 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
1 parent bd323a7 commit a3ae360

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

doc/api/readline.md

Lines changed: 3 additions & 3 deletions

0 commit comments

Comments
 (0)