Hello, I do not understand Invoice that is exactly ... I know that it is a template for all others that I can create with new, but Invoice itself is a object or a function with constructor method, get and set, because if I do console.log tell me it's a function and not an object
class Factura{
constructor(numero, cliente, importe, IVA){
this._numero = numero;
this._cliente = cliente;
this._importe = importe;
this._IVA = IVA;
}
get total(){
return this._cliente;
}
}