Skip to content

Commit 0241952

Browse files
committed
Remove the | 1 left over from the previous float number operation.
1 parent 8623234 commit 0241952

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ var CryptoJS = CryptoJS || (function (Math, undefined) {
2424
// Support experimental crypto module in IE 11
2525
var crypto = window.crypto || window.msCrypto;
2626

27-
return (crypto.getRandomValues(new Uint32Array(1))[0]) | 1;
27+
return crypto.getRandomValues(new Uint32Array(1))[0];
2828
} catch (err) {}
2929

3030
throw new Error('Native crypto module could not be used to get secure random number.');

0 commit comments

Comments
 (0)