Resolves path against target and binds element index of the array
it names — the explicit spelling of the indexed-array binding form (§16,
§17; RFC 0003 §2), equivalent to
createBinding(target, path + "." + index, numberAdapter).
The element must exist when the binding is created (§16: resolved once) —
an index at or past the array's length is refused loudly here rather than
silently growing a plain array or dropping writes into a typed one. The
value kind is number: §17's morph-weight track is a scalar track, and an
element of any numeric array binds through numberAdapter.
Parameters
target: object
Root object of the path.
path: string
Dot-separated path to the array; must be non-empty.
index: number
Element index; a non-negative integer inside the array.
Resolves
pathagainsttargetand binds elementindexof the array it names — the explicit spelling of the indexed-array binding form (§16, §17; RFC 0003 §2), equivalent tocreateBinding(target, path + "." + index, numberAdapter).The element must exist when the binding is created (§16: resolved once) — an index at or past the array's length is refused loudly here rather than silently growing a plain array or dropping writes into a typed one. The value kind is
number: §17's morph-weight track is a scalar track, and an element of any numeric array binds through numberAdapter.