I\'m building this small cart project at the moment, however, when I\'m passing the products to the cart class something strange is happening...
When I console.log()