doc: fix typo in synchronous randomBytes example · nodejs/node@ac6af73 · GitHub
Skip to content

Commit ac6af73

Browse files
WebReflectionjasnell
authored andcommitted
doc: fix typo in synchronous randomBytes example
The string template was closed after `${buf.length}` causing a syntax error within the example. PR-URL: #5781 Reviewed-By: Michaël Zasso <mic.besace@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 545b8fd commit ac6af73

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

doc/api/crypto.markdown

Lines changed: 1 addition & 1 deletion

0 commit comments

Comments
 (0)