From 21ff0467e495436067dde6ef10fa1f1d475d1fbc Mon Sep 17 00:00:00 2001 From: nprimo Date: Mon, 2 Jan 2023 08:48:51 +0100 Subject: [PATCH] docs(veterinary): improve subject - add trailing comma to keep consistency - improve description of the function requested --- subjects/veterinary/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/subjects/veterinary/README.md b/subjects/veterinary/README.md index 3b456b39e..bf77f1bb0 100644 --- a/subjects/veterinary/README.md +++ b/subjects/veterinary/README.md @@ -7,9 +7,9 @@ To help him get introduced to your neighborhood, create an object `veterinary` w - an array of string `animalKnowledge` that will store all the animal species the new veterinary can treat, -- a function `canTreat` that will receive a string as an argument and will return a boolean indicating if the string is present in the veterinary `animalKnowledge` array +- a function `canTreat` that will receive a string as an argument and will return a boolean indicating if the string is present in the veterinary `animalKnowledge` array, -- a function `respondClient` that will receive two string, the pet name and the animal species of the pet, and will return a string that will include `Yes` or `No` plus the pet name accordingly. +- a function `respondClient` that will receive two string, the pet name and the animal species of the pet, and will return a string that will include `Yes` or `No` plus the pet name depending on whether the pet can be treated or not, as in the example below. ### Example