Skip to content

Commit 51739b9

Browse files
committed
readme code style
1 parent 6b623fd commit 51739b9

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

7_kyu/List Filtering/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ https://www.codewars.com/kata/53dbd5315a3c69eed20002dd
55
In this kata you will create a function that takes a list of non-negative integers and strings and returns a new list with the strings filtered out.
66

77
```js
8-
filter_list([1, 2, "a", "b"]) == [1, 2];
9-
filter_list([1, "a", "b", 0, 15]) == [1, 0, 15];
10-
filter_list([1, 2, "aasf", "1", "123", 123]) == [1, 2, 123];
8+
filter_list([1, 2, 'a', 'b']) == [1, 2];
9+
filter_list([1, 'a', 'b', 0, 15]) == [1, 0, 15];
10+
filter_list([1, 2, 'aasf', '1', '123', 123]) == [1, 2, 123];
1111
```

8_kyu/CSV representation of array/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ input: [
1414
[30, 31, 32, 33, 34],
1515
];
1616

17-
output: "0,1,2,3,4\n" + "10,11,12,13,14\n" + "20,21,22,23,24\n" + "30,31,32,33,34";
17+
output: '0,1,2,3,4\n' + '10,11,12,13,14\n' + '20,21,22,23,24\n' + '30,31,32,33,34';
1818
```

8_kyu/Pick a set of first elements/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Write a function to get the first element(s) of a sequence. Passing a parameter
77
If n == 0 return an empty sequence []
88

99
```js
10-
var arr = ["a", "b", "c", "d", "e"];
10+
var arr = ['a', 'b', 'c', 'd', 'e'];
1111
first(arr); //=> ['a'];
1212
first(arr, 2); //=> ['a', 'b']
1313
first(arr, 3); //=> ['a', 'b', 'c'];

0 commit comments

Comments
 (0)