Skip to content

Tag: keytar

Variable of function always returns undefined

The idea: I want to return a variable from a function and then output it using console.log(). The problem: I can’t just use return result because then nothing is returned. I don`t really know how else to return the variable. I have already looked at SO posts like this one, however I probably lack suitable understanding to implement this into