Skip to content

Commit 33574b1

Browse files
committed
Updated solution for lab 03
1 parent 7c7543c commit 33574b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

labs/03-nl-with-compromise/src/solutions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,5 @@ helper.outputResult(5, result);
4141
// --> laura: 3
4242
// --> monica: 2
4343
// --> ernie: 2
44-
result = doc.people().sort('frequency').out('frequency').filter((m,i) => m.count >= 2);
44+
result = doc.people().out('frequency').filter((m,i) => m.count >= 2);
4545
helper.outputFrequencyResult(6, result);

0 commit comments

Comments
 (0)