8 lines
171 B
JavaScript
8 lines
171 B
JavaScript
|
module.exports = class Product {
|
||
|
constructor(name, quantity, price) {
|
||
|
this.name = name;
|
||
|
this.quantity = quantity;
|
||
|
this.price = price;
|
||
|
}
|
||
|
};
|