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.

21 lines
484 B

## Olympic
### Instructions
The Olympic games just ended and you want to tell everyone about the ranking of
your favorite athlete: Pedro.
For the first to the third position, log the matching medal emoji 🥇🥈🥉.
3 years ago
Otherwise log this disapointed emoji: 😞 and a message of his exact ranking.
Example, if pedro is in 10th place, the message to log would be:
```js
'😞 Pedro is #10'
```
### Notions
- [indexOf](https://devdocs.io/javascript/global_objects/array/indexof)