mirror of
https://github.com/hexastack/hexabot
synced 2024-11-24 04:53:41 +00:00
fix: function jsdoc description
This commit is contained in:
parent
1183473aaf
commit
8383dc3c3e
@ -7,9 +7,9 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
* Return a cryptographically secure random value between 0 and 1 is desired
|
||||
* Return a cryptographically secure random value between 0 and 1
|
||||
*
|
||||
* @returns A cryptographically secure random value between 0 and 1 is desired
|
||||
* @returns A cryptographically secure random value between 0 and 1
|
||||
*/
|
||||
export const getRadom = (): number =>
|
||||
window.crypto.getRandomValues(new Uint32Array(1))[0] * Math.pow(2, -32);
|
||||
|
@ -7,9 +7,9 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
* Return a cryptographically secure random value between 0 and 1 is desired
|
||||
* Return a cryptographically secure random value between 0 and 1
|
||||
*
|
||||
* @returns A cryptographically secure random value between 0 and 1 is desired
|
||||
* @returns A cryptographically secure random value between 0 and 1
|
||||
*/
|
||||
export const getRadom = (): number =>
|
||||
window.crypto.getRandomValues(new Uint32Array(1))[0] * Math.pow(2, -32);
|
||||
|
Loading…
Reference in New Issue
Block a user