Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Thinking In JavaScript Modules

Thinking In JavaScript Modules

Oliver Mensah

July 08, 2018
Tweet

More Decks by Oliver Mensah

Other Decks in Programming

Transcript

  1. 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' ]