From 88abf19919227de0d8f40e0fbf4f51359c580716 Mon Sep 17 00:00:00 2001 From: Tlekbai Ali Date: Fri, 26 Jun 2020 13:52:27 +0600 Subject: [PATCH] Update README.md fix display of string --- subjects/is-winner/README.md | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/subjects/is-winner/README.md b/subjects/is-winner/README.md index 9f276007..0ad8bd53 100644 --- a/subjects/is-winner/README.md +++ b/subjects/is-winner/README.md @@ -5,19 +5,16 @@ Create a function `isWinner` that, by making use of `winners` "API", should return a resolved Promise with the string: -- ` + ' never was a winner'`, if the country passed -in `isWinner` has never won a the FIFA World Cup +- ` + ' never was a winner'`, if the country passed in `isWinner` has never won a the FIFA World Cup - ` + ' is not what we are looking for because of the continent'`, if the country passed in `isWinner` is not from the european continent -- ` + ' is not what we are looking for because of the number of -times it was champion'`, if the country passed in `isWinner` was champion +- ` + ' is not what we are looking for because of the number of times it was champion'`, if the country passed in `isWinner` was champion less than 3 times -- ` + ' won the FIFA World Cup in ' + + 'winning by ' -+ `, otherwise. +- ` + ' won the FIFA World Cup in ' + + 'winning by ' + `, otherwise. If the country was champion in more than one year, the years should be displayed like : '1000, 1004, 1008'. The same goes for the results