2 minute read
Here's a basic chart of those prototype methods that operate on 'this':
|Call||this, a, b, c, d, ...||immediate|
|Apply||thisArg,[a, b, c, ...]||immediate|
|Bind||thisArg, a, b, c, ...||delayed|
Greater minds than mine have explained some of these concepts in much greater detail, so I will refer you to them for further reading.
Much like the keyword 'this' above, the keyword 'new' is essential to object oriented programming.
What does 'new' actually do though? This post breaks it down simply: