Open in app

Sign in

Write

Sign in

Majid El-Tayeb
Majid El-Tayeb

58 Followers

Home

About

May 29, 2017

JS Lecture Notes : Hoisting

There’s a temptation to think that all of the code you see in a JavaScript program is interpreted line-by-line, top-down in order, as the program executes. While that is substantially true, there’s one part of that assumption which can lead to incorrect thinking about your program. Hoisting is JavaScript’s default…

JavaScript

2 min read

JS Lecture Notes : Hoisting
JS Lecture Notes : Hoisting
JavaScript

2 min read


May 28, 2017

JS Lecture Notes : Scope (Function Scope & Block Scope)

Consider the next example :- Function Scope In Javascript, functions are the most common unit of scope ;between every {} is a new scope , as you can see ‘a’ had been declared in the first function with value of 2 , and with a value of 3 in the second function…

JavaScript

3 min read

JS Lecture Notes : Scope (Function Scope & Block Scope)
JS Lecture Notes : Scope (Function Scope & Block Scope)
JavaScript

3 min read

Majid El-Tayeb

Majid El-Tayeb

58 Followers

Front-End Developer, Artist by Nature

Following
  • Netflix Technology Blog

    Netflix Technology Blog

  • Dr. Derek Austin 🥳

    Dr. Derek Austin 🥳

  • Muzli

    Muzli

  • Ashoka

    Ashoka

  • Abdo Magdy

    Abdo Magdy

See all (177)

Help

Status

About

Careers

Blog

Privacy

Terms

Text to speech

Teams