MEGAN RIEL-MEHAN
  • Home
  • Science Visualization
  • Research
    • Initial findings
    • Image processing
  • Civic Tech
  • Fine Art
  • News
  • Methods and Notes
  • CV and Resume

Call stack notes

11/13/2017

0 Comments

 
The call stack: 
    Array with two methods:
    first in last out. 
        push()
        pop()
        peak() //looks at the first one. 

Callback queue 
    first in, first out. 
    runs by adding them to the call stack
    basically an array, with two special methods:
        enqueue (unshift())
        dequeue (shift())

Hoisting variables is done to make sure everything is declared before adding to the call stack. 

this[this.length++] = value //increments after evaluation 
this[++this.length} = value //increments before evaluation 
0 Comments



Leave a Reply.

    Categories

    All
    Animation
    Cell Crawling
    HBV
    Heroku
    PGRN.org
    R
    Web Development

    RSS Feed

Download CV
Contact me:
  • Home
  • Science Visualization
  • Research
    • Initial findings
    • Image processing
  • Civic Tech
  • Fine Art
  • News
  • Methods and Notes
  • CV and Resume