JavaScript 2022

Term 3 Wednesday

May - July 2022

This site will be updated live during the sessions

Week 7 Example 2b Conditional Scope Corrected

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