Latest on LocalStorage in Edge / IE

Does LocalStorage not work in Edge at all or is there a trick to implement?
IE for that matter as well, though I thought only Edge was supported.