Skip to content

API: Align IVector with ES2021 proposal for 'at()' #79

@DLehenbauer

Description

@DLehenbauer

Specifically, change 'getItem()' to just 'at()' and support negative index semantics:
https://github.com/tc39/proposal-relative-indexing-method

Excitingly, this means that Array, TypedArray, and String will just "happen to be" IVectorReaders, etc. the same way Map "happens to be" an IMapReader, etc.

EDIT: Proposal is now to add 'at()' rather than 'item()'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions