#10 idk what to do


#1

Please tell me what i am doing wrong i will give screenshot.

@cadecodes


#2

My Code is very similar to yours:

var my_number = 7; //this has global scope

var timesTwo = function(number) {
    var my_number = number * 2;
    console.log("Inside the function my_number is: ");
    console.log(my_number);
}; 

timesTwo(7);

console.log("Outside the function my_number is: ")
console.log(my_number);

I just don't have the bar function.