Is it possible to store a value from a promise to a outside variable
 var hwid;
    getHWID().then(id => {
    console.log(id)
    })
I want the id in the hwid variable so i can check it against a mysql database
Is it possible to store a value from a promise to a outside variable
 var hwid;
    getHWID().then(id => {
    console.log(id)
    })
I want the id in the hwid variable so i can check it against a mysql database