new FarrThis( [p])
constructor - create a FarrThis instance that can contain bound functions, where each function's this value is a plain object with some common parameters:
a: the containing instance (FarrThis)i: the index of this element in the containing instance (integer)f: a reference to this element (function)o: any user-specified object, also accessible as theoproperty of the containing instance ('object')
Parameters:
| Name | Type | Argument | Default | Description | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
p |
object | iterable | number |
<optional> |
{ a: [], o: {} } | if a number, creates instance of that length. if an iterable, use its elements to generate new bound functions Properties
|