I can explain the difference between function declarations and function expressions.
- YES. Pretty pumped about knowing the difference also. Fixed a huge problem in my Gametime project because I was using a function expression when I should have been using a declaration.
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.
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.