This is my console ,i need to display all these item onto screen, what should i do,please help

this is my console ,i need to display all these item onto screen, what should i do,please help

Give me the .ts code which is print this console log.

thankyou sir,

loadCart() {

this.storage.forEach( (value, key, index) => {
console.log(“This is the value”,value)
console.log(“from the key”, key)
console.log(“Index is”, index)

})

provider cart

const CART_KEY = ‘cartItems’;

@Injectable()
export class CartsProvider {

constructor(public storage: Storage) {

}

addToCart(product) {
return this.getCartItems().then(result => {
if (result) {
if (!this.containsObject(product, result)) {
result.push(product);
return this.storage.set(CART_KEY, result);
} else {
let index = result.findIndex(x => x.product_id == product.product_id);
let prevQuantity = parseInt(result[index].count);
product.count = (prevQuantity + product.count);
let currentPrice = (parseInt(product.totalPrice) * product.count);
product.totalPrice =currentPrice;
result.splice(index, 1);
result.push(product);

      console.log(product.totalPrice);
     
    
      return this.storage.set(CART_KEY, result);
      
    }

  } else { console.log(this.storage.set(CART_KEY, [product]));
    return this.storage.set(CART_KEY, [product]);

  }
})

}

removeFromCart(product) {
return this.getCartItems().then(result => {
if (result) {
var productIndex = result.indexOf(product);
result.splice(productIndex, 1);
return this.storage.set(CART_KEY, result);

  }
})

}

removeAllCartItems() {
return this.storage.remove(CART_KEY).then(res => {
return res;
});
}

containsObject(obj, list): boolean {
if (!list.length) {
return false;
}

if (obj == null) {
  return false;
}
var i;
for (i = 0; i < list.length; i++) {
  if (list[i].product_id == obj.product_id) {
    return true;
  }
}
return false;

}

getCartItems() {
return this.storage.get(CART_KEY);

}

}