File tree 2 files changed +18
-0
lines changed
2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change
1
+ <h1 >Convert boolean values to strings 'Yes' or 'No'. <sup ><sup >8 Kyu</sup ></sup ></h1 >
2
+
3
+ <sup >
4
+ <a href =" https://www.codewars.com/kata/53369039d7ab3ac506000467 " >
5
+ <strong>LINK TO THE KATA</strong>
6
+ </a > - <code >FUNDAMENTALS</code >
7
+ </sup >
8
+
9
+ ## Description
10
+
11
+ Complete the method that takes a boolean value and return a ` "Yes" ` string for ` true ` , or a ` "No" ` string for ` false ` .
12
+
13
+ ## Solution
14
+
15
+ ``` javascript
16
+ const boolToWord = bool => (bool ? ' Yes' : ' No' )
17
+ ```
Original file line number Diff line number Diff line change @@ -129,6 +129,7 @@ JavaScript katas on Codewars are programming challenges that help you improve yo
129
129
- ** [ Chuck Norris VII - True or False? (Beginner)] ( ./8-kyu/chuck-norris-vii-true-or-false-beginner.md ) ** <br ><sup >` FUNDAMENTALS ` ` ALGORITHMS ` </sup >
130
130
- ** [ Compare within margin] ( ./8-kyu/compare-within-margin.md ) ** <br ><sup >` FUNDAMENTALS ` ` LOGIC ` </sup >
131
131
- ** [ Convert a string to an array] ( ./8-kyu/convert-a-string-to-an-array.md ) ** <br ><sup >` ARRAYS ` ` STRINGS ` ` FUNDAMENTALS ` </sup >
132
+ - ** [ Convert boolean values to strings 'Yes' or 'No'.] ( ./8-kyu/convert-boolean-values-to-strings-yes-or-no.md ) ** <br ><sup >` FUNDAMENTALS ` </sup >
132
133
- ** [ Is your period late?] ( ./8-kyu/is-your-period-late.md ) ** <br ><sup >` FUNDAMENTALS ` ` DATE TIME ` </sup >
133
134
- ** [ Multiplication table for number] ( ./8-kyu/multiplication-table-for-number.md ) ** <br ><sup >` FUNDAMENTALS ` ` STRINGS ` </sup >
134
135
- ** [ Multiply] ( ./8-kyu/multiply.md ) ** <br ><sup >` DEBUGGING ` ` FUNDAMENTALS ` </sup >
You can’t perform that action at this time.
0 commit comments