foundation is set

This commit is contained in:
Mohammed Ashab Uddin
2020-07-20 15:14:36 +04:00
parent 64a4b81f1d
commit cbe03c5954
8 changed files with 208 additions and 1 deletions

View File

@@ -0,0 +1,23 @@
const {Product} = require('./product');
class Website {
/**
* @param {Map<string,string>} details
*/
constructor(details){
this.details = details;
this.products = [];
}
/**
*
* @param {Product} product
*/
addProduct(product){
this.products.push(product);
}
}
module.exports.Website = Website;