I want to print test
outside the .then and .db.get. Is there a way to do it?
db.get("key1").then(value => {
var test = value;
});
I want to print test
outside the .then and .db.get. Is there a way to do it?
db.get("key1").then(value => {
var test = value;
});