We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d11285 commit cab57bbCopy full SHA for cab57bb
problems/basic_filter/problem.txt
@@ -1,7 +1,7 @@
1
Use Array#filter to write a function called `getShortMessages`.
2
3
`getShortMessages` takes an array of objects with '.message' properties
4
-and prints any messages that are *less than < 50 characters long*.
+and returns an array of messages that are *less than < 50 characters long*.
5
6
Arguments:
7
@@ -23,7 +23,8 @@ Hint: Try chaining some Array methods!
23
24
Expected Output:
25
26
-The function should return an array containing the messages themselves, without their containing object.
+The function should return an array containing the messages themselves,
27
+*without their containing object*.
28
29
e.g.
30
0 commit comments