There are four patterns of invocation in JS:
- the method invocation pattern,
- the function invocation pattern,
- the constructor invocation pattern and
- the apply invocation pattern.
The patterns differ in how the bonus parameter [[this]] is initialized
There are four patterns of invocation in JS:
The patterns differ in how the bonus parameter [[this]] is initialized