agregar
var element = {}, cart = [];
element.id = id;
element.quantity = quantity;
cart.push(element);
Wandering Walrus
var element = {}, cart = [];
element.id = id;
element.quantity = quantity;
cart.push(element);
export const add = (a: number, b: number): number => a + b;