Slide 9
Slide 9 text
Hoisting
Why?
All Declarations become undefned at the top
level
Eg. var list // undefned
Later each declaration gets assign to its value
Eg. list = ['Brendan Eich', 'Douglas Crockford',
'Kent C. Dodds']
Oh! There is another declaration called list
Eg. list = ['Passion to Learn’, 'Reading of Source
Code as Hobby', 'Computing Concerns' ]