hi guys. i’m not sure if this goes here but can someone help or explain this problem for me? i have tried googling it but i am not having any luck. any help would be appreciated, thanks!
“declare a variable without initializing it and return it”
I have done both of these:
#1
var myVariable;
return myVariable;
or
#2
var myVariable;
console.log(myVariable)
I know how to declare a variable but not sure how to return it. I thought you could only return using a function.