Skip to content

Latest commit

 

History

History

removeAnchorFromUrl

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

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"