(async () => { FingerprintJS.load() .then(fp => fp.get()) .then(result => console.log(result)); })();