DEV Community

loading...

Discussion on: Daily Challenge #305 - Remove Anchors from URLs

Collapse
annshuk profile image
Annshuk Sharma

const remove_url_anchor =(url) => url && url.split('#')[0];