Javascript – How to use localStorage to store data
I'm currently trying to learn how to use localStorage. I find myself in a loop while trying to add/update an array of users. Here's the code: const users = [ {name: 'john', age: 25,}, {name: 'jane', age: 25}, {name: 'bob',…