What are default argements passed to a JavaScript function?

There are always two default argements passed to a JavaScript when we call a function which are-

  1. arguments – It looks like an Array and contains passed parameters these can be accessed using index.
  2. this – This is an object and belongs to current execution context.
Advertisements