Notizen
Ohne Titel
Inhalt der Notizen (1)
Seite 1
let orderCount = 0;
const takeOrder = (topping, crustType) => {
orderCount++;
console.log('Order: ' + crustType + ' pizza topped with ' + topping);
};
takeOrder('mushroom', 'thin crust');
takeOrder('spinach', 'whole wheat');
takeOrder('pepperoni', 'brooklyn style');
const getSubTotal = (itemCount) => {
return itemCount * 7.5;
};
console.log(getSubTotal(orderCount));
Informationen
- Beschreibung
- Notiz am Ohne Titel, erstellt von Allison Stc am 19/04/2018.
- Erstellt von
- Allison Stc
- Aufrufe
- 0
- Bewertung