doc: fix typo in synchronous randomBytes example
authorAndrea Giammarchi <andrea.giammarchi@gmail.com>
Fri, 18 Mar 2016 12:22:22 +0000 (12:22 +0000)
committerMyles Borins <mborins@us.ibm.com>
Mon, 21 Mar 2016 20:07:12 +0000 (13:07 -0700)
commit1e05f371d6fb00bac8e5ee50b164a1b41070c4d1
tree04afe12706a463dfabea24fa404fd63c6df0c649
parent19ae308867cc1691d7b8a0d7e58390bcf5279d35
doc: fix typo in synchronous randomBytes example

The string template was closed after `${buf.length}`
causing a syntax error within the example.

PR-URL: https://github.com/nodejs/node/pull/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>
doc/api/crypto.markdown