Skip to content

Latest commit

 

History

History

what-is-this-in-js

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

What is this

An exploration of the 4 various ways to set this in JavaScript (in increasing priority):

  • Default
  • Soft binding
  • Hard binding
  • new keyword

Run the examples in /code to check them out