'Using localstorage to create development mode of application

I want to create development mode for the application I am working on, it is a video calling application so the goal is to create a fake call so we can test or work on it directly, how we can use localStorage to create that ?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source