8 lines
180 B
JavaScript
8 lines
180 B
JavaScript
|
class Product {
|
||
|
constructor(name, type, farcing, price) {
|
||
|
this.name = name;
|
||
|
this.type = type;
|
||
|
this.farcing = farcing;
|
||
|
this.price = price
|
||
|
}
|
||
|
}
|