Skip to content

Instantly share code, notes, and snippets.

@bad6e
Forked from stevekinney/cfu-functions.md
Created December 2, 2015 18:58
Show Gist options
  • Save bad6e/6866517c2c7a16431ef5 to your computer and use it in GitHub Desktop.
Save bad6e/6866517c2c7a16431ef5 to your computer and use it in GitHub Desktop.

I can explain the difference between function declarations and function expressions. (3)

I can explain what the value of this is in a normal function. (2)

I can explain what the value of this is when called from the context of an object. (1)

I can explain how to explicitly set the value of this in a function. (1)

I can explain the difference between call and apply. (1.2)

I can describe an case where I might need to use bind to avoid polluting the global scope. (1)

I can explain how bind works. (1)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment