Browse Source

docs(phant0m-writ3r): clarify subject

pull/2631/head
nprimo 3 months ago committed by Niccolò Primo
parent
commit
3038cf736d
  1. 12
      subjects/phant0m-writ3r/README.md

12
subjects/phant0m-writ3r/README.md

@ -7,19 +7,19 @@ Any expressions is valid code inside conditions, that includes functions calls:
```js
// for example, we can uppercase to make sure it will match
// no mater if the name has upper or lower letter !
if ('Patrick Lemaire'.toUpperCase() === 'PATRICK LEMAIRE') {
console.log('This is Patrick')
if ("Patrick Lemaire".toUpperCase() === "PATRICK LEMAIRE") {
console.log("This is Patrick");
}
```
### Instructions
Your carreer as a rap ghost writer is at a dead end as inspiration seems to have
Your career as a rap ghost writer is at a dead end as inspiration seems to have
left for good, but you still have an ace up your sleeve, you will write a bot
`PHANT0M-WRiT3R` that find ryhmes for you !
`PHANT0M-WRiT3R` that find rhymes for you !
- Log the provided variable `word` if it does not start with `'al'` and end with
`'ion'`
- Log the provided variable `word` if it ends with `ion` AND does not start
with `'al'`.
### Notions

Loading…
Cancel
Save