Hi,
I am trying to add up numbers to local storage. By parseInt but it doesn’t work.
How can I fix this? Thanks
storedData: string=’’;
showCount: Number;
CountData() {
parseInt(localStorage.setItem(“storedData”, JSON.stringify(this.showCount)));
}
1 post - 1 participant