JavaScript 2022

Term 3 Wednesday

May - July 2022

This site will be updated live during the sessions

Week 7 Example 2b Conditional Scope

		
001window.onload = ()=> 
		
002{
		
003	let students = 8;
		
004	if(students > 5)
		
005	{
		
006		const tutor = "T Brodie";
		
007	}
		
008	console.log(students);
		
009	console.log(tutor);
		
010}
		
011
		
012
		
013
		
014