Now, let's try to see the mailBoxNumber outside the function. On the last line of the program, write:


#1

Now, let's try to see the mailBoxNumber outside the function. On the last line of the program, write:


#2

What are you asking?


#3

hi sir in java script i am unable to get code and run the output in scope topic


#4

please post your code so that we can help you. :slight_smile:


#5

var laundryRoom = 'Basement';
var mailRoom = 'Room 1A';

var myApartment = function() {
var mailBoxNumber = 'Box 3';
var laundryRoom = 'In-unit';
console.log('Mail box: ' + mailBoxNumber + ', Laundry:' + laundryRoom);
};

myApartment();


#6

In scope.js
instruction 4
the code here


#7

What exercise and lesson are you on?


#8

You are only abusing the Q&A forum by posting such drivelous questions. Step back a minute and re-assess your situation. Are you here to learn? Which means a lot of self involvement in reading and study; or just feel like rattling a few cages for fun?

We see this type of behavior a lot, and wish more teachers did, too. They would have a say over who is allowed to partake in this course. Kapeesh?


#9

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.