Proxying the Constructor

Understand how to proxy a constructor and modify it to use in local storage.

With these basics in place, here’s what we want to have a function that will receive a reference to a constructor, e.g., the Contact constructor, and modify it for use with local storage.

Creating a new constructor

So, let’s create a configureStorage function that will do just that:

Get hands-on with 1200+ tech skills courses.