So lets say I have
localStorage.setItem('sampleitem','valueone');
If a different script changed 'sampleitem' to a different value, how could I call a function when that happens, without just putting said function to call in the script that it gets changed in?