Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function exerciseOne(){
- // Exercise One: In this exercise you will create a variable called 'aboutMe'
- // This variable should be assigned a new object
- // In this object create three key:value pairs
- // The keys should be: 'name', 'city', 'favoriteAnimal'
- // The values should be strings associated with the keys.
- // return the variable 'aboutMe'
- var aboutMe = {
- name: 'Stevie',
- city: 'Flint',
- favoriteAnimal: 'Dog',
- };
- return 'aboutMe';
- }
Advertisement
Add Comment
Please, Sign In to add comment