mirror of https://github.com/01-edu/public.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
591 B
591 B
Mixed Feelings
Unlike feelings, mixed data can be great !
Mixed data types
Like objects, arrays are values and so you can have arrays of arrays, or arrays of objects, or arrays of objects with arrays in them or... well, you get the picture.
Instructions
You must create a mixedFeelings
variable that is an array of 3 emotions.
An emotion is an object with 2 properties:
- a
type
property of value being one of the following strings'happiness'
,'sadness'
,'disgust'
,'fear'
,'surprise'
or'anger'
- a
level
property of value being a number from0-9