Logo Awesome React

Awesome React

What is "this" in NodeJS?

  • Details
I cover "this" in JavaScript generically in here: https://www.youtube.com/watch?v=M_D2mpRGJE0&list=PLV5CVI1eNcJgCrPH_e6d57KRUTiDZgs0u

This was made in response to: https://twitter.com/SIDDHANT6969/status/1019940252494966789

Code: https://gist.github.com/kentcdodds/a95990593acb9db51e419ce8ba3e34de

NOTE: This is going to change slightly (behavior will stay the same, but the way the code appears in the debugger will be different): https://github.com/nodejs/node/pull/21573