У меня проблема с получением функции объекта localstorage при использовании CircularJSON.stringify
.
Вот мой код
//set localstorage data
localStorage.setItem("client", CircularJSON.stringify(client)); // client is connection object
//get localstorage data
let client = CircularJSON.parse(localStorage.getItem('client'));
при получении объекта клиента только переменные отображают не все функции
Пока установлено местное хранилище
![While set the localstorage](https://i.stack.imgur.com/7XlGy.png)
В то время как получить местное хранилище
![while get the localstorage](https://i.stack.imgur.com/imn2v.png)