dessert
flavor​
Description​
Method that generate a random dessert flavor.
Parameters​
Name | Type | Description |
---|---|---|
N/A | N/A | This method doesn't receive any parameters |
Returns​
- <String>
Usage​
- Without passing parameters
- code
console.log(pure.dessert.flavor());
- result
'Cake'
topping​
Description​
Method that generate a random dessert topping.
Parameters​
Name | Type | Description |
---|---|---|
N/A | N/A | This method doesn't receive any parameters |
Returns​
- <String>
Usage​
- Without passing parameters
- code
console.log(pure.dessert.topping());
- result
'Toffee Bits'
variety​
Description​
Method that generate a random dessert variety.
Parameters​
Name | Type | Description |
---|---|---|
N/A | N/A | This method doesn't receive any parameters |
Returns​
- <String>
Usage​
- Without passing parameters
- code
console.log(pure.dessert.variety());
- result
'Chocolate Chip Cookie Dough'