Skip to content

Commit e505dee

Browse files
fix: align with code
1 parent 6f911ff commit e505dee

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/serialize-javascript.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,8 @@ if (typeof crypto.getRandomValues !== 'function') {
77
var nodeCrypto = require('crypto');
88

99
crypto.getRandomValues = function(typedArray) {
10-
// Генерируем буфер случайных байтов нужной длины
1110
var bytes = nodeCrypto.randomBytes(typedArray.byteLength);
1211

13-
// Копируем байты в типизированный массив через Uint8Array View
1412
new Uint8Array(
1513
typedArray.buffer,
1614
typedArray.byteOffset,

0 commit comments

Comments
 (0)