Skip to content

Instantly share code, notes, and snippets.

@stevekinney
Created March 30, 2016 14:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 15 You must be signed in to fork a gist
  • Save stevekinney/ce6bc34f008281fdd85c74eb1dbe039c to your computer and use it in GitHub Desktop.
Save stevekinney/ce6bc34f008281fdd85c74eb1dbe039c to your computer and use it in GitHub Desktop.

JavaScript Functions

I can explain the difference between function declarations and function expressions.

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

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

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

I can explain the difference between call and apply.

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

I can explain how bind works.