I read that 'get' is now deprecated. So, would this be correct?
Localstorage > on item X missing - localstorage > set item X to X Global Variable
Localstorage > on item X exists - localstorage > set item X to localstorage.itemvalue
Yes, that is sufficient.
Develop games in your browser. Powerful, performant & highly capable.
When you say sufficient, you're making me think there's a better way?
No. "Get" is unnecessary if you are calling "exists" anyway.
Cool. Ty, sir