Source

import Mattress from './Mattress';

let oMattress = new Mattress();
console.log("---------------------------------------------");
oMattress.printMenu();
console.log("---------------------------------------------");
oMattress.printBreakfastMenu();
console.log("---------------------------------------------");
oMattress.printLunchMenu();
      

Console

ITERATOR