How to use a javascript promise to save your data on your website
A promise is a simple JavaScript function that returns a promise.The result of a promise is stored in a variable called the payload.When you call the function with the payload, it returns a new promise object, and it’s then ready to be fulfilled.The value of the