These are potential interview questions. Try your best to answer each question on your own before looking up the answer online.
//Your Answer
//Googled Answer
var text = 'outside';
function logIt(){
console.log(text);
var text = 'inside';
};
logIt();
first Guess:
Then, past the code in your console and explain why you were right/wrong.
//Your Answer
//Googled Answer
//Your Answer
//Googled Answer
//Your Answer
//Googled Answer