const unAnchor = (url) => url.split("#")[0]
We're a place where coders share, stay up-to-date and grow their careers.
Discussion on: Daily Challenge #131 - Remove Anchor from URL