How to use the pathname function from url

How to use the pathname function from url

More to explore

Based on this image's title: “How to use the pathname function from url