The Greatest Hockey Team To Ever Be Assembled

 

1998 Detroit Red Wings

Just kidding Wes, I'm gonna talk about the "this" keyword in JavaScript

This MDN   eplains the "this" keyword thusly

A function's this keyword behaves a little differently in JavaScript compared to other languages. It also has some differences between strict mode and non-strict mode.

In most cases, the value of this is determined by how a function is called. It can't be set by assignment during execution, and it may be different each time the function is called. ES5 introduced the bind method to set the value of a function’s this regardless of how it’s called, and ES2015 introduced arrow functions whose this is lexically scoped (it is set to the this value of the enclosing execution context).

Thanks for the help Mozilla.

Thanks for listening!

Lightning talk 3

By Joshua Warren

Lightning talk 3

  • 434