I have a array stored in localStorage that has a key named "key" it contains this values ["Gio","Ben"]
how do i get the length I've tried
localStorage.getItem("name").length;
but it shows a different output what i was expecting was supposed to be 2.
Thanks in advance