function clearCart() {
  let clear = document.getElementsByTagName('tbody')[0];
  clear.innerHTML = '';

}
// TODO: Remove all of the rows (tr) in the cart table (tbody)
Remove all of the rows (tr) in the cart table (tbody)
Remove all of the rows ( tr ) in the cart table ( tbody )
function clearCart() {
  let clear = document.getElementsByTagName('tbody')[0];
  clear.innerHTML = '';
}
function clearCart ( ) { let clear = document . getElementsByTagName ( 'tbody' ) [ 0 ] ; clear . innerHTML = '' ; }
TODO: Remove all of the rows (tr) in the cart table (tbody)
TODO : Remove all of the rows ( tr ) in the cart table ( tbody )