forked from Ayaabuyousef/rbk-toy-problems
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathW3D3.js
More file actions
30 lines (24 loc) · 871 Bytes
/
W3D3.js
File metadata and controls
30 lines (24 loc) · 871 Bytes
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
/*
Write a function called favoriteDessert that takes no paremeters
and returns an object with 3 key-value pairs.
The names of each property and their respective values are up to you,
but the values cannot be undefined. How would you describe your favorite dessert?
<<<<<<< HEAD
For example, one could return an object such as:
{ name: "Flan", ovenTemp: 350, prepTime: "25 minutes + 50 minutes chilling" }
Another example could be:
{ name: "Gelato", countryOfOrigin: "Italy", flavor: "Chocolate Chip" }
*/
function favoriteDessert (){
var obj = {
name : "Fettuccine",
countryOfOrigin: "Italy"
prepTime: "45 minutes"
}
}
=======
For example, one could return an object such as:
{ name: "Flan", ovenTemp: 350, prepTime: "25 minutes + 50 minutes chilling" }
Another example could be:
{ name: "Gelato", countryOfOrigin: "Italy", flavor: "Chocolate Chip" }
*/