hexo/node_modules/cuid/lib/fingerprint.react-native.js

9 lines
186 B
JavaScript
Raw Normal View History

2023-09-25 15:58:56 +08:00
var pad = require('./pad.js');
var globalCount = Object.keys(global);
var clientId = pad(globalCount.toString(36), 4);
module.exports = function fingerprint () {
return clientId;
};