whip

Untitled

Apr 6th, 2019
217
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. function exerciseOne(){
  2. // Exercise One: In this exercise you will create a variable called 'aboutMe'
  3. // This variable should be assigned a new object
  4. // In this object create three key:value pairs
  5. // The keys should be: 'name', 'city', 'favoriteAnimal'
  6. // The values should be strings associated with the keys.
  7. // return the variable 'aboutMe'
  8. var aboutMe = {
  9. name: 'Stevie',
  10. city: 'Flint',
  11. favoriteAnimal: 'Dog',
  12. };
  13. return 'aboutMe';
  14. }
Advertisement
Add Comment
Please, Sign In to add comment