Is it possible to preserve a JavaScript variable between component calls of the client-side code?
For example, after a third party library in my component loads I am calling a function in the controller. That function creates a variable.
Then after a specific event is handled by the same component I am calling a function from the same controller as above. And here I would like to be able to access the variable.