Skip to content

Commit

Permalink
did test 9
Browse files Browse the repository at this point in the history
  • Loading branch information
Isabell Wästfelt authored and Isabell Wästfelt committed Feb 23, 2022
1 parent 16438ad commit 15f4ed3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/9-hashtags.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export const hashtags = (text) => {
return text
}
return text.split(" ").filter((word) => word.startsWith("#"));
};

0 comments on commit 15f4ed3

Please sign in to comment.