Skip to content

Instantly share code, notes, and snippets.

@emilyfreeman
Forked from stevekinney/1508-functions-cfu.md
Last active February 3, 2016 21:32
Show Gist options
  • Save emilyfreeman/1f5b4e387335a67db7e9 to your computer and use it in GitHub Desktop.
Save emilyfreeman/1f5b4e387335a67db7e9 to your computer and use it in GitHub Desktop.

JavaScript Functions

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

Yes

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

Yes

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

Yes

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

-ish

I can explain the difference between call and apply.

-ish

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

Yes

I can explain how bind works.

Mostly

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