Skip to content

Commit 8a39ce0

Browse files
committed
nits
1 parent 6c788ab commit 8a39ce0

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

browser.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,7 @@ function randomBytes (size, cb) {
2727

2828
var bytes = Buffer.allocUnsafe(size)
2929

30-
3130
if (size > 0) { // getRandomValues fails on IE if size == 0
32-
3331
if (size > MAX_BYTES) { // this is the max bytes crypto.getRandomValues
3432
// can do at once see https://developer.mozilla.org/en-US/docs/Web/API/window.crypto.getRandomValues
3533
for (var generated = 0; generated < size; generated += MAX_BYTES) {

0 commit comments

Comments
 (0)