storing variables in local storage
Hi
Is there a javascript for me to write? I want to store a variable from the default user collection column from a database into the local storage.
Is this the correct way --- localStorage.setItem(‘userId’,({ Apperyio.User.id:_id}));