If I have a function:
function myFunction() {
var x = "variable defined inside of myFunction";
}
Is there any trick I can use to access x from outside of it?
I read about variables being scoped but was just wondering if there was any way around it.