Skip to content

Best practice for setting value of nested objects? #72

@bcamp1973

Description

@bcamp1973

our data is nested a few layers deep. i've been using the following approach to save changes to nested values, but it feels sloppy. is there a better way?

$.jStorage.get('data')['authors'][33]['books'][5]['title'] = 'See Spot Run';

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions