loading...

re: Simple Rules to Master 'this' Context VIEW POST

FULL DISCUSSION
 

Hi Idress! The rules are in the wrong order, actually it should be:

  1. new keyword
  2. bind (hard binding) // call or apply (explicit binding)
  3. dot call operator (implicit binding)
  4. global or undefined (default object)
 

Thanks for the correction 😅

code of conduct - report abuse