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.
 
 
 
 
 
 
Chris 5ff30bcf33 discovery-piscine: add subjects and tests 4 years ago
..
README.md discovery-piscine: add subjects and tests 4 years ago

README.md

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 from 0-9