Exercise 1 · Chapter: ObjectsRequired+50 XP
Phone Book
Create an object with 3 contacts and their phone numbers:
- Alice: 111
- Bob: 222
- Charlie: 333
Read a name from input and print their phone number.
Need a hint?
3 available · costs 5 XP each
javascript
Output
Run your code to see the output here.