reorder functions for no-use-before-define
This commit is contained in:
+2
-2
@@ -1,7 +1,7 @@
|
||||
import crypto from 'node:crypto';
|
||||
|
||||
export default hat;
|
||||
|
||||
function hat(bits) {
|
||||
return crypto.randomBytes(bits / 8).toString('hex');
|
||||
}
|
||||
|
||||
export default hat;
|
||||
|
||||
Reference in New Issue
Block a user