Hi Team,
How can i get the specific object from localStorage object?:
i used the following code:
code
var obj = localStorage.getItem('TardyColor');
var x = JSON.parse(obj);
console.log(x);
/code
below is i've tested code to display the specific object but this is not working i dont know why.
code
var obj = localStorage.getItem('TardyColor');
var x = JSON.parse(obj);
console.log(x.getDate);
/code
Thank you,
She