public/subjects/security
Clement Denis 3cdfd1a34c discovery-piscine: update exercises and test 2021-04-12 03:15:36 +01:00
..
README.md discovery-piscine: update exercises and test 2021-04-12 03:15:36 +01:00

README.md

Security

AND + OR (&& + ||)

Combining && and || builds complex logical conditions.

You can use () to group them.

Instructions

The infamous virus19 is spreading ! As an airport control agent your role is to ensure that the traveler is safe for his flight.

You must define the traveler.isImmune property to true if either:

  • both traveler.alreadyHadTheVirus and traveler.recovered are true
  • or traveler.isVaccinated is true