Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- / Example Code: Reference this code for the next Exercise
- let school = 'Lambda';
- let className = 'Intro to Web Dev'
- function nameMySchool(){
- let className = "Web Development Fundamentals"
- console.log(school); <--- Line 7
- }
- nameMySchool();
- console.log(className);
- // Do not change any code above this line!
- // Exercise One:
- // Part One: Create a variable called 'inFunction' and
- // assign it to the value that will be logged
- // on line 7.
- var inFunction = "school";
Advertisement
Add Comment
Please, Sign In to add comment