Local Storage for Multiple Values & Arrays

I'm using localStorage.getItem / setItem to storage basic values in local storage but can't work out how to efficiently store multiple values under a single entry/key or store an array.

1. I want to store {workout} data with multiple fields/values.
2. I also want to retrieve numerous workouts from the database and wrote to local storage (array).

Thank you.
1 person has
this question
+1
Reply