Snapwiz Interview Question

How to map local store of browser in JS