-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathblock17.js
58 lines (55 loc) · 1.08 KB
/
block17.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
// Prompt 1:
// Clean the coffee_data file:
// Checklist:
// a. All prices should be numbers.
// b. All items should be strings.
// c. Objects and properties should have commas seperating them.
// d. Connect the coffee_data.js file to the index.js file.
const coffeeMenu = [
{
name: "cappuccino",
price: 8,
seasonal: false,
},
{
name: "espresso",
price: 5,
seasonal: false,
},
{
name: "latte",
price: 5,
seasonal: false,
},
{
name: "affogato",
price: 9,
seasonal: true,
},
{
name: "macchiato",
price: 6,
seasonal: false,
},
{
name: "americano",
price: 7,
seasonal: false,
},
{
name: "iced coffee",
price: 6,
seasonal: false,
},
{
name: "frappe",
price: 8,
seasonal: false,
},
{
name: "cuban espresso",
price: 10,
seasonal: true,
}
]
module.exports = coffeeMenu