Skip to content

Best practice for setting value of nested objects? #72

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';

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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