I wan to store the event object of the input type file in local Storage but when i convert the object into JSON String it returns an empty object.
var image = document.getElementById('image');
image.addEventListener('change', function (e) {
var img = e.target.files[0];
localStorage.setItem('img', JSON.stringify(img))
var getImg = localStorage.getItem('img');
console.log(JSON.parse(getImg));
});