diff --git a/src/scripts/data/product.js b/src/scripts/data/product.js index 3862df6..0839f16 100644 --- a/src/scripts/data/product.js +++ b/src/scripts/data/product.js @@ -51,6 +51,12 @@ export default class product { }; } + /* + Save the product data to the storage. + + @options {object} the options + @return {boolean} the status of the save + */ async save(options = {}) { // Set the default options. options = Object.assign({}, this.#options, options);