Skip to content

array index support in dot notation #44

@y0hami

Description

@y0hami

Add support for array indexes in dot notation

const a = {
  a: [
    {
      a: 'inside array',
    },
  ],
};

get(a, 'a[0].a'); // => "inside array"

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions