Skip to content

Latest commit

 

History

History
13 lines (11 loc) · 370 Bytes

README.md

File metadata and controls

13 lines (11 loc) · 370 Bytes

Remove anchor from URL

7 kyu link to kata
my solution

Complete the function/method so that it returns the url with anything after the anchor (#) removed.

Examples

"www.codewars.com#about" --> "www.codewars.com"
"www.codewars.com?page=1" -->"www.codewars.com?page=1"